From 586cfab051330cc6bbb0a80adbf19a0ac1ecaf3c Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Mon, 1 May 2023 14:09:56 -0700 Subject: [PATCH] [POSTGRES] Move to set --- cluster/postgres.tf | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/cluster/postgres.tf b/cluster/postgres.tf index 98efc0fa..f0ed824c 100644 --- a/cluster/postgres.tf +++ b/cluster/postgres.tf @@ -38,23 +38,12 @@ resource "helm_release" "postgresql" { cleanup_on_fail = true force_update = true - values = [ - yamlencode({ - global = { - postgresql = { - storageClass = "local-path" - auth = { - existingSecret = "postgres-auth-secret" - } - } - } - primary = { - persistence = { - enabled = true - storageClass = "local-path" - } - } - }) - - ] + set { + name = "global.storageClass" + value = "local-path" + } + set { + name = "global.postgresql.auth.existingSecret" + value = "postgres-auth-secret" + } } \ No newline at end of file