From 685f9bcc63c4f9d1bd40c360baee67edcaa27e6f Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 22 Dec 2021 08:50:38 -0300 Subject: [PATCH] Do not stop backup on pg_dump error --- charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml | 1 + charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml | 1 + charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml b/charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml index 7937f56..1d1f042 100644 --- a/charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml +++ b/charts/sapl/v0.2.0/templates/velero-schedule-monthly.yaml @@ -34,5 +34,6 @@ spec: - "-c" - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d sapl > /bitnami/postgresql/sapl.dump" timeout: 360s + onError: Continue useOwnerReferencesInBackup: false {{- end }} \ No newline at end of file diff --git a/charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml b/charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml index f7c5440..f0724d5 100644 --- a/charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml +++ b/charts/sapl/v0.2.0/templates/velero-schedule-weekdays.yaml @@ -34,5 +34,6 @@ spec: - "-c" - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d sapl > /bitnami/postgresql/sapl.dump" timeout: 360s + onError: Continue useOwnerReferencesInBackup: false {{- end }} \ No newline at end of file diff --git a/charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml b/charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml index e5622bf..9c07521 100644 --- a/charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml +++ b/charts/sapl/v0.2.0/templates/velero-schedule-weekly.yaml @@ -34,5 +34,6 @@ spec: - "-c" - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U sapl -d sapl > /bitnami/postgresql/sapl.dump" timeout: 360s + onError: Continue useOwnerReferencesInBackup: false {{- end }} \ No newline at end of file