update
This commit is contained in:
parent
1da4f8c090
commit
2deca013b2
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@ metadata:
|
||||||
This policy sets custom configuration on the Volsync mover Jobs.
|
This policy sets custom configuration on the Volsync mover Jobs.
|
||||||
policies.kyverno.io/subject: Pod
|
policies.kyverno.io/subject: Pod
|
||||||
spec:
|
spec:
|
||||||
mutateExistingOnPolicyUpdate: true
|
generateExistingOnPolicyUpdate: true
|
||||||
rules:
|
rules:
|
||||||
- name: set-volsync-movers-custom-config
|
- name: set-volsync-movers-custom-config
|
||||||
match:
|
match:
|
||||||
|
@ -23,6 +23,9 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
volsync.backube/privileged-movers: "true"
|
volsync.backube/privileged-movers: "true"
|
||||||
mutate:
|
mutate:
|
||||||
|
targets:
|
||||||
|
- apiVersion: batch/v1
|
||||||
|
kind: Job
|
||||||
patchStrategicMerge:
|
patchStrategicMerge:
|
||||||
spec:
|
spec:
|
||||||
podReplacementPolicy: Failed
|
podReplacementPolicy: Failed
|
||||||
|
|
Loading…
Reference in a new issue