Skip to content

Commit 0a7f9c1

Browse files
author
Eric Herbrandson
committed
Updating the readme to indicate that kubectl proxy cannot be used to access k8dash
1 parent 412d6aa commit 0a7f9c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ spec:
4949
servicePort: 80
5050
```
5151
52+
# kubectl proxy
53+
Unfortunately, `kubectl proxy` can not be used to access k8dash. According to the information at [https://github.com/kubernetes/kubernetes/issues/38775#issuecomment-277915961](https://github.com/kubernetes/kubernetes/issues/38775#issuecomment-277915961), it seems that `kubectl proxy` strips the Authorization header when it proxies requests. From that link:
54+
55+
> this is working as expected. "proxying" through the apiserver will not get you standard proxy behavior (preserving Authorization headers end-to-end), because the API is not being used as a standard proxy
56+
57+
5258

5359
# Logging in
5460
There are multiple options logging into the dashboard.

0 commit comments

Comments
 (0)