-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Proxy: add headers to request #3484
Comments
Here's some context for why I brought this up: If the user accesses pod A through the apiserver proxy, and pod A wants to generate a page that links to pods B and C via the proxy, then pod A needs a way to know what address the user originally used to get to the apiserver. Either that, or the apiserver proxy needs some way to know when a cross-host link generated by pod A is actually a link to another pod, and should be rewritten to go through the proxy. For example, if there were such a thing as per-pod DNS entries, then pod A could link to http://pod-name.pods.skydns.local/status and apiserver proxy could rewrite it to https://apiserver/api/v1beta1/proxy/pods/pod-name/status. |
Background discussion: https://groups.google.com/forum/#!topic/google-containers/o_VmRlcGan0 |
@nikhiljindal Can you take a look at this? Feel free to reassign it back to me. |
Ahh, I didn't realize that Eric already has a PR for this, and the original code was written by me anyway. Reassign it back myself. |
Suggestion from Anthony Yeh, on the google-containers public mailing list.
The text was updated successfully, but these errors were encountered: