Missing comma
This commit is contained in:
parent
c9ad7d7bab
commit
d80e9a65b6
4 changed files with 10 additions and 11 deletions
|
@ -19,7 +19,7 @@ spec:
|
||||||
- name: backup-container
|
- name: backup-container
|
||||||
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
|
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
|
||||||
command: ["bash"]
|
command: ["bash"]
|
||||||
args: [ "-c" "duplicity /backup_storage rclone://destination:$(BUCKET) --no-encryption --full-if-older-than 1M; touch /backup_ipc/stop" ]
|
args: [ "-c", "duplicity /backup_storage rclone://destination:$(BUCKET) --no-encryption --full-if-older-than 1M; touch /backup_ipc/stop" ]
|
||||||
env:
|
env:
|
||||||
- name: RCLONE_CONFIG_DESTINATION_ACL
|
- name: RCLONE_CONFIG_DESTINATION_ACL
|
||||||
value: private
|
value: private
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
resources:
|
---
|
||||||
- backup-cronjob.yaml
|
kind: Kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
resources: ['backup-cronjob.yaml']
|
||||||
|
|
|
@ -38,6 +38,3 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: xrootd-secret
|
name: xrootd-secret
|
||||||
key: "source-secret-access-key"
|
key: "source-secret-access-key"
|
||||||
livenessProbe:
|
|
||||||
exec:
|
|
||||||
command: ["bash", "-c", "if test -f /backup_ipc/stop; then umount /backup_storage; exit 1; fi;"]
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: 'kustomize.config.k8s.io/v1beta1'
|
---
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
bases:
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
- ../../../base
|
resources: [../../../base]
|
||||||
patchesStrategicMerge:
|
patches:
|
||||||
- backup-cronjob.yaml
|
- path: backup-cronjob.yaml
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue