-
Notifications
You must be signed in to change notification settings - Fork 76
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
update mcm and use worker secret ref. for the machine class credentialsSecretRef #222
update mcm and use worker secret ref. for the machine class credentialsSecretRef #222
Conversation
/rebase |
2a3f61f
to
e1814d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/invite @prashanth26
/assign @prashanth26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the master is using the MCM-provider-gcp with the required changes here - https://github.com/gardener/gardener-extension-provider-gcp/blob/master/charts/images.yaml#L38 & gardener/machine-controller-manager-provider-gcp@5783306.
/lgtm
How to categorize this PR?
/area quality
/kind enhancement
/priority normal
/platform gcp
What this PR does / why we need it:
Uses the machine classes .{spec.}credentialsSecretRef field. It is a reference to a secret containing only the credentials, while today's .{spec.}secretRef still contains the user-data. See here for more details.
Uses the worker's secret reference as the credentialsSecretRef.
This means all worker pools use the same "cloudprovider" secret containing only the cloud provider credentials.
The existing MachineClass SecretReference then only contains the user data that is different for each pool.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: