swap deprecated field
This commit is contained in:
parent
5c16d00df6
commit
1da4f8c090
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ metadata:
|
||||||
This policy removes CPU limits from all Pods.
|
This policy removes CPU limits from all Pods.
|
||||||
pod-policies.kyverno.io/autogen-controllers: none
|
pod-policies.kyverno.io/autogen-controllers: none
|
||||||
spec:
|
spec:
|
||||||
generateExistingOnPolicyUpdate: true
|
mutateExistingOnPolicyUpdate: true
|
||||||
rules:
|
rules:
|
||||||
- name: remove-containers-cpu-limits
|
- name: remove-containers-cpu-limits
|
||||||
match:
|
match:
|
||||||
|
|
|
@ -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:
|
||||||
generateExistingOnPolicyUpdate: true
|
mutateExistingOnPolicyUpdate: true
|
||||||
rules:
|
rules:
|
||||||
- name: set-volsync-movers-custom-config
|
- name: set-volsync-movers-custom-config
|
||||||
match:
|
match:
|
||||||
|
|
Loading…
Reference in a new issue