Commit Graph

13 Commits (74b78d537df6dee6842573f2b78ea28dbdf87ade)

Author SHA1 Message Date
Mike Danese eb3d6822d0 Merge pull request #10673 from stefwalter/proxy-split-hostport-without-port
kubectl: Handle splitting host:port when no port is present
2015-07-24 17:23:05 -07:00
Prashanth Balasubramanian 8c27609382 Periodically flush the reverse proxy. 2015-07-23 15:41:58 -07:00
Stef Walter 3db0bfdf65 kubectl: Handle splitting host:port when no port is present
In the proxy filter, if listening on port 80 or 443 there will
be no port present in the Host: HTTP header. Just use the entire
thing in these cases, and don't reject requests when no port
is present in the Host: HTTP header.
2015-07-10 09:35:22 +02:00
Daniel Smith 689a3ee7a2 Make UI work through kubectl proxy (again)
Fixes #10115.
2015-06-24 13:54:14 -07:00
Chao Xu 9449a61b1a exclude the port number when checking a request in "kubectl proxy" 2015-06-19 11:00:01 -07:00
Brendan Burns 4aeee94603 Add some XSRF protection to kubectl proxy. 2015-06-10 20:55:33 -07:00
Daniel Smith 1bab36f772 Fix 'kubectl proxy' to allow the /metrics page to be proxied, without breaking the previous proxy behavior 2015-06-03 18:31:45 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Jimmi Dyson f4a9b62d06 Configurable API prefix for kubectl proxy 2015-02-10 13:58:46 +00:00
Jimmi Dyson e2baf049c0 kubectl proxy: make static prefix configurable 2015-02-04 15:57:21 +00:00
Jeff Lowdermlk 6e98ce34ca Fix kubectl proxy
Port flag was being ignored. Fixed now.
2015-01-28 15:07:00 -08:00
alex fb2b15a797 Replace custom proxy with httputil.ReverseProxy for kubecfg/kubectl.
Fixes #1149 - kubecfg proxy "411 Length Required" error on POST/PUT.
2014-10-21 18:52:18 +01:00
Sam Ghods 4b220f8b0a kubectl: kubecfg rewrite for better modularity and improved UX 2014-10-15 15:29:54 -07:00