-
Notifications
You must be signed in to change notification settings - Fork 103
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
Allow the user to disable/enable the admin kubeconfig #1186
Comments
@rfranzke should we already disable the admin kubeconfig for new shoots as default? |
I didn't notice. @rfranzke Why do we call this |
@petersutter Not yet, but you could display a hint/note or add a checkbox to the shoot details/create page so that end-users get aware of this. @vlerenc I'm not sure whether we should encode implementation details into the API. "AdminKubeconfig" is general enough and fits all cases (there might be even old clusters which don't have such static token yet, and end-users are not even aware of what this is). It could still be changed, but I would vote for keeping the name. |
@rfranzke I am not pushing. However, I do not share this opinion. Yes, some end users may not be aware, but that is no good reason. Would you drop PDBs, just because some end users don't know what they are or that they exist? The reason we do all these things and why it's important to understand what it is this flag influences is to comply with security standards and to give end users the information how secure their clusters are. Most product standards mandate that And didn't, back then, also GKE, when it still offered it, call it static token (and basic auth when that was still a thing) or am I misremembering? Maybe, anyway... That you get Calling it So, I think it's 1.) a somewhat confusing misnomer and 2.) hides what is actually switched off here (static tokens cluster-admin access). |
@ary1992 will rename the field to |
The PR wasn't merged yet (and even if, it will only be released next week), so it was still in-time. As you were the only one with a strong opinion regarding the naming, we simply changed it |
Thanks. |
What would you like to be added:
The static admin kubeconfig for shoot clusters can now be disabled by setting
in the specification of the.spec.kubernetes.enableAdminKubeconfig=false
Shoot
resource. The respective<shoot-name>.kubeconfig
secret in the project namespace in the garden cluster will be deleted.There should be an option on the dashboard to do this for new and already existing clusters. Ref gardener/gardener#5649
UPDATE: the filed has changed to
.spec.kubernetes.enableStaticTokenKubeconfig
Why is this needed:
gardener/gardener#3138
The text was updated successfully, but these errors were encountered: