Compare commits
1 commit
dad2dac00b
...
bc53134cb5
Author | SHA1 | Date | |
---|---|---|---|
bc53134cb5 |
1 changed files with 11 additions and 12 deletions
|
@ -14,11 +14,14 @@ spec:
|
||||||
rules:
|
rules:
|
||||||
- name: set-volsync-movers-custom-config
|
- name: set-volsync-movers-custom-config
|
||||||
match:
|
match:
|
||||||
resources:
|
all:
|
||||||
|
- 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
|
||||||
|
- resources:
|
||||||
|
kinds: ["batch/v1/Job"]
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
volsync.backube/privileged-movers: "true"
|
volsync.backube/privileged-movers: "true"
|
||||||
|
@ -35,10 +38,6 @@ 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:
|
||||||
|
|
Loading…
Reference in a new issue