Skip to content

Commit

Permalink
Exclude kube-system namespace from policy enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
domust committed Nov 22, 2023
1 parent 1518283 commit 58b3d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/castai-kvisor/templates/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ webhooks:
matchExpressions:
- key: "kubernetes.io/metadata.name"
operator: NotIn
values: ["{{ .Release.Namespace }}"]
values: ["{{ .Release.Namespace }}", "kube-system"]
rules:
- apiGroups: [ "" ]
apiVersions: [ "v1" ]
Expand Down

0 comments on commit 58b3d2a

Please sign in to comment.