diff --git a/versions/kruise-rollout/0.2.0/templates/webhookconfiguration.yaml b/versions/kruise-rollout/0.2.0/templates/webhookconfiguration.yaml index 3df9f02..af2584d 100644 --- a/versions/kruise-rollout/0.2.0/templates/webhookconfiguration.yaml +++ b/versions/kruise-rollout/0.2.0/templates/webhookconfiguration.yaml @@ -58,6 +58,12 @@ webhooks: path: /mutate-apps-v1-deployment failurePolicy: Fail name: mdeployment.kb.io + objectSelector: + matchExpressions: + - key: control-plane + operator: NotIn + values: + - {{ .Values.rollout.fullname }} rules: - apiGroups: - apps