Browse Source

Fix issue with postgres backup hook

master
Fábio Kaiser Rauber 3 years ago
parent
commit
e94421fb5b
  1. 2
      charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml
  2. 2
      charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml
  3. 2
      charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml

2
charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml

@ -54,7 +54,7 @@ spec:
command:
- "/bin/bash"
- "-c"
- "/opt/bitnami/postgresql/bin/pg_dump -U postgres sapl > /bitnami/postgresql/sapl.dump"
- "'PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl sapl > /bitnami/postgresql/sapl.dump'"
timeout: 360s
useOwnerReferencesInBackup: false
{{- end }}

2
charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml

@ -54,7 +54,7 @@ spec:
command:
- "/bin/bash"
- "-c"
- "/opt/bitnami/postgresql/bin/pg_dump -U postgres sapl > /bitnami/postgresql/sapl.dump"
- "'PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl sapl > /bitnami/postgresql/sapl.dump'"
timeout: 360s
useOwnerReferencesInBackup: false
{{- end }}

2
charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml

@ -54,7 +54,7 @@ spec:
command:
- "/bin/bash"
- "-c"
- "/opt/bitnami/postgresql/bin/pg_dump -U postgres sapl > /bitnami/postgresql/sapl.dump"
- "'PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl sapl > /bitnami/postgresql/sapl.dump'"
timeout: 360s
useOwnerReferencesInBackup: false
{{- end }}
Loading…
Cancel
Save