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:
- "/bin/bash"
- "-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
useOwnerReferencesInBackup: false
{{- end }}

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

@ -32,7 +32,7 @@ spec:
command:
- "/bin/bash"
- "-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
useOwnerReferencesInBackup: false
{{- end }}

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

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