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

Allow kubectl proxy to proxy everything #9233

Merged
3 commits merged into from
Jun 4, 2015

Conversation

lavalamp
Copy link
Member

@lavalamp lavalamp commented Jun 4, 2015

The current kubectl can't proxy anything that's not under the /api path. This removes that restriction while still allowing old tooling work the same.

This is required for kubectl to be a drop-in replacement for the RO port; prometheus example is updated to show this.

@k8s-bot
Copy link

k8s-bot commented Jun 4, 2015

EXPERIMENTAL JENKINS PR BUILDER: e2e build succeeded.

@lavalamp
Copy link
Member Author

lavalamp commented Jun 4, 2015

Fixes #5921

@j3ffml
Copy link
Contributor

j3ffml commented Jun 4, 2015

lgtm. Aside from /metrics are there other pages that were previously inaccessible?

@j3ffml j3ffml added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 4, 2015
@lavalamp
Copy link
Member Author

lavalamp commented Jun 4, 2015

I didn't try it but I'm pretty sure the UI would also have been affected, also any pprof stuff under /debug...

@dchen1107
Copy link
Member

cc/ @bprashanth

ghost pushed a commit that referenced this pull request Jun 4, 2015
Allow kubectl proxy to proxy everything
@ghost ghost merged commit fc80fd6 into kubernetes:master Jun 4, 2015
@erictune
Copy link
Member

erictune commented Jun 5, 2015

@stephenR this change may affect your findings about proxy security.

On Thu, Jun 4, 2015 at 4:22 PM, Quinton Hoole notifications@github.com
wrote:

Merged #9233 #9233
.


Reply to this email directly or view it on GitHub
#9233 (comment)
.

@lavalamp lavalamp deleted the no-ro-nonbreaking branch September 1, 2020 22:57
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants