Push the annotation to the right level
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
f545e8f181
commit
70ada7c07d
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +3,6 @@ kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: pg4nc-postgres
|
name: pg4nc-postgres
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
annotations:
|
|
||||||
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
@ -23,6 +21,9 @@ metadata:
|
||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
k8up.io/backupcommand: /usr/bin/pg_dumpall -U nextcloud
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
|
|
Loading…
Add table
Reference in a new issue