From 0a5a66b43b5d1cda846b0aa07210a690a66da879 Mon Sep 17 00:00:00 2001 From: Jonathan Meeks Date: Fri, 20 Dec 2024 11:58:20 -0600 Subject: [PATCH 1/4] feat!: Bump helm-wandb vers to v2.0.0, requires TF > 1.9 --- README.md | 2 +- examples/custom-tf-with-existing-resources/main.tf | 2 +- examples/custom-tf-with-vpc-sql/main.tf | 2 +- main.tf | 2 +- versions.tf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 22a04a4..3266327 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ audit logging and single sign-on. This module is intended to run in an Azure account with minimal preparation, however it does have the following pre-requisites: -### Terraform version >= 1 +### Terraform version >= 1.9 ### Credentials / Permissions diff --git a/examples/custom-tf-with-existing-resources/main.tf b/examples/custom-tf-with-existing-resources/main.tf index 8af480c..8bb7ba1 100644 --- a/examples/custom-tf-with-existing-resources/main.tf +++ b/examples/custom-tf-with-existing-resources/main.tf @@ -88,7 +88,7 @@ module "cert_manager" { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ data.azurerm_kubernetes_cluster.cluster, diff --git a/examples/custom-tf-with-vpc-sql/main.tf b/examples/custom-tf-with-vpc-sql/main.tf index 984f2f2..f040cfe 100644 --- a/examples/custom-tf-with-vpc-sql/main.tf +++ b/examples/custom-tf-with-vpc-sql/main.tf @@ -145,7 +145,7 @@ module "cert_manager" { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ module.app_aks, diff --git a/main.tf b/main.tf index 19ceb9d..69b0cd6 100644 --- a/main.tf +++ b/main.tf @@ -273,7 +273,7 @@ locals { module "wandb" { source = "wandb/wandb/helm" - version = "1.2.0" + version = "2.0.0" depends_on = [ module.app_aks, diff --git a/versions.tf b/versions.tf index 59c2d3e..c468724 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.0" + required_version = "~> 1.9" required_providers { azurerm = { source = "hashicorp/azurerm" From 25f7405a0bb232d28284d6128506805c48d9fb55 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Dec 2024 18:00:55 +0000 Subject: [PATCH 2/4] terraform-docs: automated action --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3266327..cf50be8 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ resources that lack official modules. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | ~> 1.0 | +| [terraform](#requirement\_terraform) | ~> 1.9 | | [azapi](#requirement\_azapi) | ~> 1.0 | | [azurerm](#requirement\_azurerm) | ~> 3.17 | | [helm](#requirement\_helm) | ~> 2.6 | @@ -77,7 +77,7 @@ resources that lack official modules. | [redis](#module\_redis) | ./modules/redis | n/a | | [storage](#module\_storage) | ./modules/storage | n/a | | [vault](#module\_vault) | ./modules/vault | n/a | -| [wandb](#module\_wandb) | wandb/wandb/helm | 1.2.0 | +| [wandb](#module\_wandb) | wandb/wandb/helm | 2.0.0 | ## Resources From 41458799389912c792a349b6996fbc591df1ea09 Mon Sep 17 00:00:00 2001 From: Jonathan Meeks Date: Mon, 6 Jan 2025 17:44:04 -0600 Subject: [PATCH 3/4] =?UTF-8?q?thread=20enable=5Fhelm=5Freleae=20to=20tf?= =?UTF-8?q?=5Fhelm=5Fwandb=CB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.tf | 2 +- variables.tf | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 69b0cd6..bdb4733 100644 --- a/main.tf +++ b/main.tf @@ -283,7 +283,7 @@ module "wandb" { ] operator_chart_version = var.operator_chart_version controller_image_tag = var.controller_image_tag - + enable_helm_release = var.enable_helm_release spec = { values = { diff --git a/variables.tf b/variables.tf index 6db34dd..78651c9 100644 --- a/variables.tf +++ b/variables.tf @@ -102,7 +102,11 @@ variable "controller_image_tag" { default = "1.14.0" } - +variable "enable_helm_release" { + type = bool + default = true + description = "Enable or disable applying and releasing Helm chart" +} ########################################## # DNS # From b900d41df28bac0616a6e7f7d0dbc783a2973e62 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Jan 2025 23:44:46 +0000 Subject: [PATCH 4/4] terraform-docs: automated action --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cf50be8..638a1c2 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ resources that lack official modules. | [disable\_storage\_vault\_key\_id](#input\_disable\_storage\_vault\_key\_id) | Flag to disable the `customer_managed_key` block, the properties 'encryption.identity, encryption.keyvaultproperties' cannot be updated in a single operation. | `bool` | `false` | no | | [domain\_name](#input\_domain\_name) | Domain for accessing the Weights & Biases UI. | `string` | `null` | no | | [enable\_database\_vault\_key](#input\_enable\_database\_vault\_key) | Flag to enable managed key encryption for the database. Once enabled, cannot be disabled. | `bool` | `false` | no | +| [enable\_helm\_release](#input\_enable\_helm\_release) | Enable or disable applying and releasing Helm chart | `bool` | `true` | no | | [enable\_storage\_vault\_key](#input\_enable\_storage\_vault\_key) | Flag to enable managed key encryption for the storage account. | `bool` | `false` | no | | [external\_bucket](#input\_external\_bucket) | config an external bucket | `any` | `null` | no | | [kubernetes\_cluster\_oidc\_issuer\_url](#input\_kubernetes\_cluster\_oidc\_issuer\_url) | OIDC issuer URL for the Kubernetes cluster. Can be determined using `kubectl get --raw /.well-known/openid-configuration` | `string` | `""` | no |