-
Notifications
You must be signed in to change notification settings - Fork 829
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
Helm upgrade and SSL certificates #309
Comments
Copy pasting chat transcripts, for posterity:
|
@Kuqd did your recent #315 solve this problem as well, since you added |
Yes indeed, but it’s fixed only if you use the make target to install! |
so I could use an annotation to force the restart of the pod, but the drawback is I need to merge the controller.yaml and admissionregistration.yaml to access the generated cert.(I tried to use At this point I realized that a timestamp as annotation would have the same result, since certificates are regenerated all the time. (There is no way to generate only at install time). So I think we should add a timestamp in the controller annotations(only if cert are generated), as this would be less error prone than a troubleshooting section and recommend for production user in the helm documentation to generate their own certificates, in that case the problem is non-existent and restart are avoided. WDYT ? |
This idea sounds good to me! |
The developer guide didn't cover what to do "next" after compiling Agones -- i.e. how to make changes and test them. This PR is an effort to fix this. Since googleforgames#309 is completed, you don't have to manually delete the agones-controller pod, so this also becomes much simpler. Closes googleforgames#308
When updating using
helm upgrade
the certificates for the admission controller gets regenerated but the controller pod doesn’t get restarted and thus keep the old certificates which causes this errorusing
helm upgrade --recreate-pods
fixes the issue but we needs to document it.@markmandel are we ok in recreating the controller pod at each upgrade ? Or do you have a better idea ?
The text was updated successfully, but these errors were encountered: