[POSTGRES] Move to set

This commit is contained in:
Kat Inskip 2023-05-01 14:09:56 -07:00
parent 519745826a
commit 586cfab051
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -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"
}
}