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

#2442 - fix issues with k8s access related to admission controller validated resources #29

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

murarustefaan
Copy link
Contributor

…urces leading to blocking k8s access or other internal issues

This PR...

Changes

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

…urces leading to blocking k8s access or other internal issues
@f1ames f1ames self-requested a review February 20, 2024 09:16
Copy link
Contributor

@f1ames f1ames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Just for clarity, as @murarustefaan mentioned on Slack:

I went with the approach of including resources in the validatingwebhookconfiguration rather than excluding inside it because having everything validated yet excluding stuff at runtime does present a risk, namely the case where the controller pod is down, it would block access to multiple resources rather than just the ones validated.

@murarustefaan murarustefaan merged commit 1a488a2 into main Feb 20, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants