|
|
@ -40,5 +40,16 @@ spec: |
|
|
|
- --unfreeze |
|
|
|
- /var/interlegis/sapl/media |
|
|
|
timeout: 10s |
|
|
|
- name: pgdump |
|
|
|
includedResources: |
|
|
|
- pods |
|
|
|
labelSelector: |
|
|
|
matchLabels: |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/name: postgresql |
|
|
|
pre: |
|
|
|
- exec: |
|
|
|
command: "/opt/bitnami/postgresql/bin/pg_dump -U postgres sapl > /bitnami/postgresql/sapl.dump" |
|
|
|
timeout: 360s |
|
|
|
useOwnerReferencesInBackup: false |
|
|
|
{{- end }} |