-
Notifications
You must be signed in to change notification settings - Fork 450
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
Prepare for the removal of the enableBasicAuthentication
field
#7534
Prepare for the removal of the enableBasicAuthentication
field
#7534
Conversation
e791179
to
3fd318a
Compare
ad70204
to
3fd318a
Compare
/assign |
Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
…pareForCreate and PrepareForUpdate Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
The field is now no-op. Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
…anifest used by test machinery Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
…value is `basic` Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
3fd318a
to
a14ff33
Compare
@ialidzhikov: The following tests failed, say
Full PR test history. Your PR dashboard. Command help for this repository. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
LGTM label has been added. Git tree hash: 3ffb27ec8b54336f3ab5f1aa9d647a8b97255a28
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…dener#7534) * Remove the validation for the `enableBasicAuthentication` field Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Remove the defaulting for the `enableBasicAuthentication` field Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Set the `enableBasicAuthentication` field to nil in shootStrategy PrepareForCreate and PrepareForUpdate Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Update the doc string of the `enableBasicAuthentication` field The field is now no-op. Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Remove the unused helper function Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Remove the `enableBasicAuthentication` field from the default Shoot manifest used by test machinery Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Set `kubernetesDashboard.authenticationMode` field to `token` if its value is `basic` Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com> * Drop the `KubernetesDashboardAuthModeBasic` const --------- Co-authored-by: dimitar-kostadinov <dimitar.kostadinov@sap.com>
How to categorize this PR?
/kind cleanup
What this PR does / why we need it:
The
enableBasicAuthentication
field does no longer make sense after #6987. In #6987 we removed support for Shoots with K8s < 1.20. The basic authentication was removed in K8s 1.19.x. Hence, it is not possible to enable basic auth anymore for a Shoot that is within the support K8s versions of Gardener currently.This PR is a preparation for the removal of the
enableBasicAuthentication
field:enableBasicAuthentication
field no-op (removes validation, removes defaulting) - the field is not used anymore.enableBasicAuthentication
field always to nil. So far the field was always defaulted to false, if it was not specified in the field..spec.kubernetes.addons.kubernetesDashboard.authenticationMode
totoken
, if it is set tobasic
.Which issue(s) this PR fixes:
Part of #6911
Special notes for your reviewer:
N/A
Release note: