Compare commits
2 commits
bc53134cb5
...
dad2dac00b
Author | SHA1 | Date | |
---|---|---|---|
dad2dac00b | |||
1e512d354c |
1 changed files with 12 additions and 11 deletions
|
@ -14,17 +14,14 @@ spec:
|
|||
rules:
|
||||
- name: set-volsync-movers-custom-config
|
||||
match:
|
||||
all:
|
||||
- resources:
|
||||
kinds: ["batch/v1/Job"]
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/created-by: volsync
|
||||
- resources:
|
||||
kinds: ["batch/v1/Job"]
|
||||
namespaceSelector:
|
||||
matchLabels:
|
||||
volsync.backube/privileged-movers: "true"
|
||||
resources:
|
||||
kinds: ["batch/v1/Job"]
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/created-by: volsync
|
||||
namespaceSelector:
|
||||
matchLabels:
|
||||
volsync.backube/privileged-movers: "true"
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
spec:
|
||||
|
@ -38,6 +35,10 @@ spec:
|
|||
values: [11]
|
||||
template:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: jitter
|
||||
image: docker.io/library/busybox:latest
|
||||
command: ['sh', '-c', 'sleep $(shuf -i 0-60 -n 1)']
|
||||
containers:
|
||||
- name: restic
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue