-
Notifications
You must be signed in to change notification settings - Fork 119
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
TLS errors when updating kube-fledged helm chart #200
Comments
@senthilrch In 9259975 the service account for the webhook server has been removed. When I There are two option to fix this:
I suggest option 2. |
@senthilrch any updates on this ? |
Hi there. @senthilrch any updates related to the fix of this issue? |
I've found a simple workaround to this issue:
This is probably not the best solution, but as I've seen in the code and also in the
|
When the
kube-fledged
helm chart is redeployed, if the changes don't cause thewebhook-server
component to restart, anyImageCache
operations start failing withIt looks like this is because the webhook CA bundle is hardcoded in the helm chart, but when the webhook server is started,
init-server
generates a new CA bundle and updates the webhook configuration. When another deployment occurs, the original CA bundle is reapplied, and the webhook requests begin to fail, until the webhook component is restarted again to patch the bundleIs there a best practice for keeping that CA bundle configured appropriately? Would support for an existing Certificate secret make sense?
Steps to reproduce
Install base helm chart
Deploy a simple image cache
Update the helm chart, with a value that doesn't restart the webhook server
If you were to update the
ImageCache
above, the webhook errors are returned. After restarting the webhook component, they succeed againThe text was updated successfully, but these errors were encountered: