This commit is contained in:
2024-04-05 18:37:52 +02:00
parent cdcb26c255
commit f4d6ab30dc
2 changed files with 111 additions and 111 deletions

View File

@@ -17,7 +17,7 @@ resource "kubectl_manifest" "prj_pg" {
namespace: "${var.namespace}"
labels: ${jsonencode(local.pg-labels)}
annotations:
"k8up.io/backupcommand": "pg_dumpall -U postgres --clean"
"k8up.io/backupcommand": "pg_dumpall -U postgres -w --clean"
"k8up.io/file-extension": ".sql"
spec:
instances: ${var.postgres.replicas}