An in-browser version of aws eks get-token
to enable cluster authentication using IAM for the Kubernetes dashboard.
- 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.
- 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>
- Install dependencies and start the app :
npm install and npm start
A helm chart is available in the helm-chart folder. It will require some customization such as managing ingress traffic to the proxy
- 0.1.0
- Initial release
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.