Compare commits

...

2 commits

2 changed files with 13 additions and 12 deletions

View file

@ -14,17 +14,14 @@ spec:
rules: rules:
- name: set-volsync-movers-custom-config - name: set-volsync-movers-custom-config
match: match:
all: resources:
- resources: kinds: ["batch/v1/Job"]
kinds: ["batch/v1/Job"] selector:
selector: matchLabels:
matchLabels: app.kubernetes.io/created-by: volsync
app.kubernetes.io/created-by: volsync namespaceSelector:
- resources: matchLabels:
kinds: ["batch/v1/Job"] volsync.backube/privileged-movers: "true"
namespaceSelector:
matchLabels:
volsync.backube/privileged-movers: "true"
mutate: mutate:
patchStrategicMerge: patchStrategicMerge:
spec: spec:
@ -38,6 +35,10 @@ spec:
values: [11] values: [11]
template: template:
spec: spec:
initContainers:
- name: jitter
image: docker.io/library/busybox:latest
command: ['sh', '-c', 'sleep $(shuf -i 0-60 -n 1)']
containers: containers:
- name: restic - name: restic
volumeMounts: volumeMounts:

View file

@ -191,7 +191,7 @@ spec:
volsync: volsync:
# removate: depName="VolSync Dashboard" # removate: depName="VolSync Dashboard"
gnetId: 21356 gnetId: 21356
revision: 1 revision: 3
datasource: datasource:
- { name: DS_PROMETHEUS, value: Prometheus } - { name: DS_PROMETHEUS, value: Prometheus }
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst } - { name: VAR_REPLICATIONDESTNAME, value: .*-dst }