Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart mutating webhook ignore namespace #1341

Closed
kfox1111 opened this issue Jun 4, 2021 · 0 comments · Fixed by #1360
Closed

chart mutating webhook ignore namespace #1341

kfox1111 opened this issue Jun 4, 2021 · 0 comments · Fixed by #1360
Labels
bug Something isn't working

Comments

@kfox1111
Copy link

kfox1111 commented Jun 4, 2021

The mutating webhook here:
https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/templates/gatekeeper-mutating-webhook-configuration-mutatingwebhookconfiguration.yaml

Is missing:

  namespaceSelector:
    matchExpressions:
    - key: admission.gatekeeper.sh/ignore
      operator: DoesNotExist

Causing mutatingwebhooks to apply to the gatekeeper namespace, breaking the gatekeeper sometimes.

@kfox1111 kfox1111 added the bug Something isn't working label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant