-
Notifications
You must be signed in to change notification settings - Fork 173
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
test: add unit tests for mutating webhooks #2516
Conversation
✅ Deploy Preview for zarf-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
db8deb0
to
7d3f2fa
Compare
0ba2b8f
to
769ea6a
Compare
769ea6a
to
6dbbb7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, a simple way of testing the admission hook.
My only nitpick is the package structure. Why are we creating yet another sub package in the http package? It seems like all of the admission related code should be contained in the same package instead of being spread out across different packages.
c86b62f
to
1985894
Compare
Description
Adds unit tests for the agent's mutating webhooks
Related Issue
Relates to #2512
Checklist before merging