diff --git a/README.md b/README.md index 8b178f5..c5609b5 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ module "devzero-cluster" { | Name | Version | |------|---------| -| [devzero](#provider\_devzero) | >= 0.1.1 | -| [helm](#provider\_helm) | >= 3.0.2 | +| [devzero](#provider\_devzero) | 0.1.5 | +| [helm](#provider\_helm) | 3.1.1 | ## Modules @@ -64,9 +64,11 @@ No modules. | [enable\_scheduler](#input\_enable\_scheduler) | Whether to enable the scheduler | `bool` | `true` | no | | [enable\_zxporter](#input\_enable\_zxporter) | Whether to install the zxporter component | `bool` | `true` | no | | [endpoint](#input\_endpoint) | The endpoint of the control plane | `string` | `"https://dakr.devzero.io"` | no | +| [operator\_chart\_version](#input\_operator\_chart\_version) | The Helm chart version for devzero-operator | `string` | `"0.1.14"` | no | | [operator\_extra\_values](#input\_operator\_extra\_values) | Additional Helm values for the devzero-operator chart (as name->value). |
list(object({
name = string
value = string
})) | `[]` | no |
| [provision\_prometheus](#input\_provision\_prometheus) | Whether to provision prometheus | `bool` | `true` | no |
| [runtime](#input\_runtime) | The runtime of the cluster. Supported values: containerd, rke2, k3s. | `string` | `"containerd"` | no |
+| [zxporter\_chart\_version](#input\_zxporter\_chart\_version) | The Helm chart version for zxporter | `string` | `"0.0.26"` | no |
| [zxporter\_extra\_values](#input\_zxporter\_extra\_values) | Additional Helm values for the zxporter chart (as name->value). | list(object({
name = string
value = string
})) | `[]` | no |
## Outputs
diff --git a/main.tf b/main.tf
index 9ea649a..d6ef56e 100644
--- a/main.tf
+++ b/main.tf
@@ -25,7 +25,7 @@ resource "helm_release" "zxporter" {
create_namespace = true
atomic = true
wait = true
- version = "0.0.22"
+ version = var.zxporter_chart_version
set = concat([
{
@@ -66,7 +66,7 @@ resource "helm_release" "devzero_operator" {
create_namespace = true
atomic = true
wait = true
- version = "0.1.9"
+ version = var.operator_chart_version
set = concat([
{
diff --git a/variables.tf b/variables.tf
index fafdb1a..d5391f4 100644
--- a/variables.tf
+++ b/variables.tf
@@ -89,4 +89,16 @@ variable "operator_extra_values" {
}))
description = "Additional Helm values for the devzero-operator chart (as name->value)."
default = []
-}
\ No newline at end of file
+}
+
+variable "zxporter_chart_version" {
+ type = string
+ description = "The Helm chart version for zxporter"
+ default = "0.0.26"
+}
+
+variable "operator_chart_version" {
+ type = string
+ description = "The Helm chart version for devzero-operator"
+ default = "0.1.14"
+}