From 70ada7c07dc43fbc00a9cfa4948044215c922ff1 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Mon, 30 Jun 2025 13:30:07 +0000 Subject: [PATCH] Push the annotation to the right level Signed-off-by: Martyn Ranyard --- kustomized-helms/pg4nc/statefulset.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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