-
Notifications
You must be signed in to change notification settings - Fork 233
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
machine-controller pods should restart on rotation of credentials #2180
Comments
I had a very similar issue with Grafana and KKP version 2.20.4 I had a misconfiguration in the url in the values.yaml file in the Grafana section. Fixing the url in the values.yaml did not cause the Grafana Pod to get restarted. The change was rolled out via Helm. |
Added issue on kubermatic for grafana as well. I will provide fix for grafana via checksum annotation already |
Easiest way to handle this is like we do in KKP, all dependent resources are hashed and their hashes are used as annotations in the pod spec. Once hash is changed pod spec will be altered and that will cause automatic rollout of deployment. |
|
we redeploy machine-controller every time, regardless if Deployment has changed or not, it's like kinda reconciliation 🤷 |
Description of the feature you would like to add / User story
Currently, for few cloud providers, like Openstack and Azure, the credentials for service account expire after certain number of days. It is not possible to get un-expiring passwords for service accounts for some of these cloud providers. So we must rotate the credentials by running
kubeone apply --force-upgrade
But currently, post rotation, machine-controller pods (controller as well as webhook) do not get restarted and they continue to use old credentials.
So.. we can do one of the below options:
The text was updated successfully, but these errors were encountered: