Update credentials during Worker deletion
rfranzke opened this issue · comments
From gardener-attic/gardener-extensions#523
Steps to reproduce:
- Create a Shoot with valid cloud provider credentials
my-secret
.- Ensure that the Shoot is successfully created.
- Invalidate the
my-secret
credentials.- Delete the Shoot.
- Update
my-secret
credentials with valid ones.- Ensure that the Shoot deletion fails waiting the Worker to be deleted.
Currently we do no sync the cloudprovider credentials in the
<Provider>MachineClass
during Worker deletion. Hence machine-controller-manager fails to delete the machines because the credentials are the invalid ones.