-
Notifications
You must be signed in to change notification settings - Fork 72
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
add webhook - fixes #10 #13
Conversation
Do you have any CI? |
Yeah, that's a good call. We also use CircleCI so that's an option. I'll look into it. |
I'll be getting to this soon. The holidays in the US have delayed my availability but should be getting it fully reviewed and able to merge soon. Thanks for your patience @davidkarlsen |
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.
Looks good. I'll merge this once the refactor merge is in
I wonder if the ca-bundle is really needed https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#webhook-configuration, "URL" Here is an example of a mutating webhook configured to call a URL (and expects the TLS certificate to be verified using system trust roots, so does not specify a caBundle): |
86dcb55
to
5cafb15
Compare
I’ll Get a fresh squashed PR which passes dco once the other one is merged... |
Signed-off-by: David J. M. Karlsen <[email protected]>
5cafb15
to
fc9cced
Compare
Signed-off-by: David J. M. Karlsen <[email protected]>
OK - clean patch applied. |
@zhill did you have a chance to look at this? Does it work OOTB w/o any caBundle? |
@zhill ? |
I've done some very initial testing that it does install OOTB w/o caBundle, but need further testing to ensure it works as expected. I'll try to get to that later tonight so we can get this resolved soon. Thanks @davidkarlsen ! |
I'm going to go ahead and merge this. I'm seeing some issues with the apiservice selection but I think that is not part of this change since it is setup in the init-ca script run during the install init-ca job.
|
Ah - init-ca - we set out to fix that in #9. But is that really needed? |
OK, found a good description here: https://github.com/elithrar/admission-control#generating-tls-certificates |
And also https://www.scottguymer.co.uk/post/kubernetes-mutating-webhook-configuration/, lets fix this in #9 |
Signed-off-by: David J. M. Karlsen [email protected]
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)