apps
infrastructure
argocd
backup
base
common
overlays
backup
prune
kustomization.yaml
restic-commands.yaml
applying.md
postgres
rclone-gcloud.deployment.yaml
ddns
external
external-dns
gitea
metallb-system
nfs
pg-ha
postgres
renovate
sealedsecrets
traefik-system
kluster-deployments
.gitignore
README.md
renovate.json
22 lines
450 B
YAML
22 lines
450 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: backup
|
|
resources:
|
|
- ../../base
|
|
|
|
|
|
# patch the cronjob args field:
|
|
patches:
|
|
- path: restic-commands.yaml
|
|
target:
|
|
kind: CronJob
|
|
name: restic-rclone-gdrive
|
|
- target:
|
|
kind: CronJob
|
|
name: restic-rclone-gdrive
|
|
# replace the name of the cronjob
|
|
patch: |-
|
|
- op: replace
|
|
path: /metadata/name
|
|
value: restic-gdrive-prune |