diff --git a/CHANGELOG.md b/CHANGELOG.md
index 53ddd0a..fd05468 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
+### [3.0.2](https://github.com/wandb/terraform-azurerm-wandb/compare/v3.0.1...v3.0.2) (2024-10-01)
+
+
+### Bug Fixes
+
+* Use variables for operator helm release ([#105](https://github.com/wandb/terraform-azurerm-wandb/issues/105)) ([e418924](https://github.com/wandb/terraform-azurerm-wandb/commit/e4189244002c70ddc2fbfa1362afa9c8e769bb64))
+
### [3.0.1](https://github.com/wandb/terraform-azurerm-wandb/compare/v3.0.0...v3.0.1) (2024-09-30)
diff --git a/README.md b/README.md
index 5235a5d..3dfc92f 100644
--- a/README.md
+++ b/README.md
@@ -83,6 +83,7 @@ resources that lack official modules.
| [clickhouse\_private\_endpoint\_service\_name](#input\_clickhouse\_private\_endpoint\_service\_name) | ClickHouse private endpoint 'Service name' (ends in .azure.privatelinkservice). | `string` | `""` | no |
| [clickhouse\_region](#input\_clickhouse\_region) | ClickHouse region (eastus2, westus3, etc). | `string` | `""` | no |
| [cluster\_sku\_tier](#input\_cluster\_sku\_tier) | The Azure AKS SKU Tier to use for this cluster (https://learn.microsoft.com/en-us/azure/aks/free-standard-pricing-tiers) | `string` | `"Free"` | no |
+| [controller\_image\_tag](#input\_controller\_image\_tag) | Tag of the controller image to deploy | `string` | `"1.14.0"` | no |
| [create\_private\_link](#input\_create\_private\_link) | Use for the azure private link. | `bool` | `false` | no |
| [create\_redis](#input\_create\_redis) | Boolean indicating whether to provision an redis instance (true) or not (false). | `bool` | `false` | no |
| [database\_availability\_mode](#input\_database\_availability\_mode) | n/a | `string` | `"SameZone"` | no |
@@ -106,6 +107,7 @@ resources that lack official modules.
| [oidc\_client\_id](#input\_oidc\_client\_id) | The Client ID of application in your identity provider | `string` | `""` | no |
| [oidc\_issuer](#input\_oidc\_issuer) | A url to your Open ID Connect identity provider, i.e. https://cognito-idp.us-east-1.amazonaws.com/us-east-1_uiIFNdacd | `string` | `""` | no |
| [oidc\_secret](#input\_oidc\_secret) | The Client secret of application in your identity provider | `string` | `""` | no |
+| [operator\_chart\_version](#input\_operator\_chart\_version) | Version of the operator chart to deploy | `string` | `"1.3.4"` | no |
| [other\_wandb\_env](#input\_other\_wandb\_env) | Extra environment variables for W&B | `map(any)` | `{}` | no |
| [parquet\_wandb\_env](#input\_parquet\_wandb\_env) | Extra environment variables for W&B | `map(string)` | `{}` | no |
| [redis\_capacity](#input\_redis\_capacity) | Number indicating size of an redis instance | `number` | `2` | no |
diff --git a/main.tf b/main.tf
index 10825f4..943aebd 100644
--- a/main.tf
+++ b/main.tf
@@ -279,8 +279,9 @@ module "wandb" {
module.database,
module.storage,
]
- controller_image_tag = "1.13.0"
- operator_chart_version = "1.3.1"
+ operator_chart_version = var.operator_chart_version
+ controller_image_tag = var.controller_image_tag
+
spec = {
values = {
diff --git a/variables.tf b/variables.tf
index bc3efa3..5bf1eaa 100644
--- a/variables.tf
+++ b/variables.tf
@@ -87,6 +87,22 @@ variable "other_wandb_env" {
default = {}
}
+##########################################
+# Operator #
+##########################################
+variable "operator_chart_version" {
+ type = string
+ description = "Version of the operator chart to deploy"
+ default = "1.3.4"
+}
+
+variable "controller_image_tag" {
+ type = string
+ description = "Tag of the controller image to deploy"
+ default = "1.14.0"
+}
+
+
##########################################
# DNS #