diff --git a/kustomized-helms/pg4nc/statefulset.yaml b/kustomized-helms/pg4nc/statefulset.yaml index bb94061..487ce36 100644 --- a/kustomized-helms/pg4nc/statefulset.yaml +++ b/kustomized-helms/pg4nc/statefulset.yaml @@ -3,8 +3,6 @@ kind: StatefulSet metadata: name: pg4nc-postgres namespace: nextcloud - annotations: - k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud spec: template: spec: @@ -23,6 +21,9 @@ metadata: namespace: nextcloud spec: template: + metadata: + annotations: + k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud spec: containers: - name: postgres