mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
[POSTGRES] Move to set
This commit is contained in:
parent
519745826a
commit
586cfab051
1 changed files with 8 additions and 19 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue