Browse Source

Try to fix issue with pg_dump pre_hook

master
Fábio Kaiser Rauber 3 years ago
parent
commit
abeb6d103d
  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

@ -32,7 +32,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-c"
- "'PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl sapl > /bitnami/postgresql/sapl.dump'" - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d 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

@ -32,7 +32,7 @@ spec:
command: command:
- "/bin/bash" - "/bin/bash"
- "-c" - "-c"
- "'PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl sapl > /bitnami/postgresql/sapl.dump'" - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d 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

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