Skip to content
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

KIM has to avoid service interruptions when Gardener credentials get changed #402

Open
2 tasks
tobiscr opened this issue Sep 30, 2024 · 2 comments
Open
2 tasks
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tobiscr
Copy link
Contributor

tobiscr commented Sep 30, 2024

Description

Currently, KIM is stopping to rotate the Kubeconfig (and after taking over provisioning responsibilties) and to provision Gardener clusters when Gardener credentials were changed. KIM should detect a change of the credentials and use the new values (e.g. either by hot-reloading or by triggering a restart of KIM by setting the response of the liveness-probe to "unhealthy" or by introducing the tool https://github.com/stakater/Reloader).

KIM is using the secret from the Provisioner for retrieving the Gardener credentials. This has to be changed as the Provisioner will be decommissioned in the coming weeks. KIM has to use it's own secret for it.

AC:

  • KIM has to use it's own secret (not a shared secret with Provisioner) to retrieve Gardener credentials
  • KIM has to detect changes of credentials and use the updated values (either by triggering a restart of KIM or by using a "hot reload" mechanism to retrieve always the latest values)

Reasons

Avoid service interruptions when credentials for 3rd party systems (e.g. Gardener) were changed.

Attachments

@tobiscr tobiscr added kind/feature Categorizes issue or PR as related to a new feature. area/control-plane Related to all activities around Kyma Control Plane labels Sep 30, 2024
@tobiscr tobiscr changed the title KIM has to avoid service interruptions when Gardener secret gets changed KIM has to avoid service interruptions when Gardener credentials get changed Sep 30, 2024
@tobiscr
Copy link
Contributor Author

tobiscr commented Sep 30, 2024

@tobiscr : clarify with Huskies what mechanism they are using

@tobiscr
Copy link
Contributor Author

tobiscr commented Sep 30, 2024

=> tool is https://github.com/stakater/Reloader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant