jetstack / kube-oidc-proxy

Reverse proxy to authenticate to managed Kubernetes API servers via OIDC.
https://jetstack.io
Apache License 2.0
478 stars 92 forks source link

Using with Kubernetes Dashboard #193

Open jrote1 opened 3 years ago

jrote1 commented 3 years ago

I am trying to configure Kubernetes Dashboard to use this proxy because I have setup Dex on EKS and am using this to authenticate using OIDC. But I have setup Kubernetes Dashboard to be authenticated using oauth2-proxy but once logged in it says access denied. I assume that is because the token is an OIDC token. So when I change the Kubernetes Dashboard to use this proxy I get the following error. Am I taking the right approach here or have I gone wrong somewhere? Any help would be greatly appreciated

Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service account's configuration) or the --apiserver-host param points to a server Refer to our FAQ and wiki pages for more information: https://github.com/kubernetes/dashboard/wiki/FAQ