Push the annotation to the right level

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2025-06-30 13:30:07 +00:00
parent f545e8f181
commit 70ada7c07d

View file

@ -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