Missing comma

This commit is contained in:
Micke Nordin 2025-02-07 16:03:15 +01:00
parent c9ad7d7bab
commit d80e9a65b6
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
4 changed files with 10 additions and 11 deletions

View file

@ -19,7 +19,7 @@ spec:
- name: backup-container
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
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:
- name: RCLONE_CONFIG_DESTINATION_ACL
value: private

View file

@ -1,2 +1,4 @@
resources:
- backup-cronjob.yaml
---
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
resources: ['backup-cronjob.yaml']

View file

@ -38,6 +38,3 @@ spec:
secretKeyRef:
name: xrootd-secret
key: "source-secret-access-key"
livenessProbe:
exec:
command: ["bash", "-c", "if test -f /backup_ipc/stop; then umount /backup_storage; exit 1; fi;"]

View file

@ -1,7 +1,7 @@
apiVersion: 'kustomize.config.k8s.io/v1beta1'
---
kind: Kustomization
bases:
- ../../../base
patchesStrategicMerge:
- backup-cronjob.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
resources: [../../../base]
patches:
- path: backup-cronjob.yaml