proper backup config
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: backup
|
||||
resources:
|
||||
- ../../cronjobs-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
|
Reference in New Issue
Block a user