Skip to content

Commit

Permalink
add account webhook namespaceSelector matchExpressions with uer ns label
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 committed Sep 26, 2023
1 parent 64ff087 commit a223f96
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions controllers/account/deploy/manifests/deploy.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1398,12 +1398,8 @@ webhooks:
name: debt.sealos.io
namespaceSelector:
matchExpressions:
- key: metadata.name
operator: NotIn
values:
- account-system
- kube-system
- calico-system
- key: user.sealos.io/owner
operator: Exists
rules:
- apiGroups:
- '*'
Expand Down

0 comments on commit a223f96

Please sign in to comment.