-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add flag to disable Basic Auth. #5586
Add flag to disable Basic Auth. #5586
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. |
/retest |
@fernandocarletti: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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. |
/assign @justinsb |
/ok-to-test |
I’ve been waiting for this, thanks! /lgtm |
8f8499b
to
4b27e6c
Compare
@justinsb & @chrisz100 I just rebased it to fix the conflicts. Shall we merge it? |
Good to go from my POV. Unsure if we shouldn't wait for after 1.11 is stable? /lgtm |
/area security |
Just my two cents here, the original PR (#4799) was already set to the 1.10 milestone, but due to the abandonment, it wasn't released. Also, RBAC is enabled by default, so I don't think there is anything risky in here, specially when the flag is just to disable it, so by default Basic Auth is still enabled. |
It’s more about the risk of this breaking the application or introducing more bugs. But it’s fine to make 1.11 from my side. |
I'm a little uneasy to introduce a flag that deviates from the kubernetes flags, but we can do it and eventually it will just be the default. (And because these options map to kubernetes flags, which are themselves frequently deprecated / changing, these are considered "power options" anyway) So: It does make things more secure, and while I'd like to make it the default, this is a good first step. And by creating the flag, we minimize the risk of breaking anyone. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrisz100, fernandocarletti, justinsb 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 |
This is an excerpt from @valdisrigdon's PR #4799, Since the source branch was removed and the work in the PR appears to be stopped. It adds a flag to remove the basic authentication as requested on #290.