We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67399b9 + 14e6a13 commit 6688e9aCopy full SHA for 6688e9a
bindata/network/multus-admission-controller/003-webhook.yaml
@@ -30,7 +30,7 @@ webhooks:
30
matchConditions:
31
# On updates, only validate if the Spec changes
32
- name: CreateDeleteOrUpdatedSpec
33
- expression: oldObject == null || object == null || object.spec != oldObject.spec
+ expression: oldObject == null || object == null || has(object.spec) != has(oldObject.spec) || (has(object.spec) && object.spec != oldObject.spec)
34
sideEffects: NoneOnDryRun
35
admissionReviewVersions:
36
- v1
0 commit comments