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: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false
{{- end }} {{- end }}

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

@ -54,7 +54,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false
{{- end }} {{- end }}

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

@ -54,7 +54,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-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 timeout: 360s
useOwnerReferencesInBackup: false useOwnerReferencesInBackup: false
{{- end }} {{- end }}
Loading…
Cancel
Save