From 63014109eae8f0ff3d896ad597d12bc17c9b1e9f Mon Sep 17 00:00:00 2001 From: siddharth Date: Thu, 23 May 2024 17:26:37 +0530 Subject: [PATCH] chore: setting dependency_update true for voucher --- ci/testflight/voucher/main.tf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/testflight/voucher/main.tf b/ci/testflight/voucher/main.tf index 4f59e4b8db..0d2f3be315 100644 --- a/ci/testflight/voucher/main.tf +++ b/ci/testflight/voucher/main.tf @@ -41,8 +41,8 @@ resource "kubernetes_secret" "voucher" { "next-auth-secret" : "dummy123" "client-secret" : "dummy" "escrow-api-key" : "dummy" - pg-user-pw : random_password.postgresql.result - pg-con : "postgres://voucher:${random_password.postgresql.result}@voucher-postgresql:5432/voucher" + "pg-user-pw" : random_password.postgresql.result + "pg-con" : "postgres://voucher:${random_password.postgresql.result}@voucher-postgresql:5432/voucher" } } @@ -55,6 +55,10 @@ resource "helm_release" "voucher" { values = [ file("${path.module}/testflight-values.yml") ] + + depends_on = [kubernetes_secret.voucher] + + dependency_update = true } data "google_container_cluster" "primary" {