Nitro / kubernetes-dashboard-iam-proxy

A proxy that sits in front of the Kubernetes-dashboard and provides IAM authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubernetes-dashboard-iam-proxy

An in-browser version of aws eks get-token to enable cluster authentication using IAM for the Kubernetes dashboard.

login screen

Run it on your local machine ...

  1. The proxy needs to be able to reach the Kubernetes dashboard. One way to do that is to proxy the Kubernetes API to localhost as per the documentation. Make sure you can reach the Kubernetes Dashboard from your browser.
  2. Next, expose some environment variables to the application :
export UPSTREAM_DASHBOARD_URL=<endpoint for the Kubernetes dashboard (see step one)>
export PROXY_PORT=8888
export PROXY_URL=http://localhost
export CLUSTER_NAME=<the name of your kubernetes cluster>
  1. Install dependencies and start the app :
npm install and npm start

... or in a cluster

A helm chart is available in the helm-chart folder. It will require some customization such as managing ingress traffic to the proxy

Release History

  • 0.1.0
    • Initial release

Contributing

Contributions are welcome in the form of pull requests. Feel free to open an issue if you run into any problems while using this project.

About

A proxy that sits in front of the Kubernetes-dashboard and provides IAM authentication.

License:MIT License


Languages

Language:JavaScript 73.7%Language:HTML 15.3%Language:Sass 11.0%