Skip to content
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

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

fernandocarletti
Copy link
Contributor

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 9, 2018
@k8s-ci-robot
Copy link
Contributor

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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Aug 9, 2018
@fernandocarletti
Copy link
Contributor Author

/retest

@k8s-ci-robot
Copy link
Contributor

@fernandocarletti: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@fernandocarletti
Copy link
Contributor Author

/assign @justinsb

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 10, 2018
@mikesplain
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 13, 2018
@chrisz100
Copy link
Contributor

I’ve been waiting for this, thanks!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 1, 2018
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 16, 2018
@k8s-ci-robot k8s-ci-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Oct 17, 2018
@fernandocarletti
Copy link
Contributor Author

@justinsb & @chrisz100 I just rebased it to fix the conflicts. Shall we merge it?

@chrisz100
Copy link
Contributor

Good to go from my POV. Unsure if we shouldn't wait for after 1.11 is stable?
@mikesplain what do you think?

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 17, 2018
@chrisz100
Copy link
Contributor

/area security

@fernandocarletti
Copy link
Contributor Author

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.

@chrisz100
Copy link
Contributor

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.

@justinsb
Copy link
Member

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

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 19, 2018
@k8s-ci-robot k8s-ci-robot merged commit 67f1cc8 into kubernetes:master Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/security cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants