traefik-helm-chart
traefik-helm-chart copied to clipboard
Expose the dashboard publicly (with basic authentication)
Currently, by doing a basic helm installation, the dashboard is reachable only via a port forward, as for example explained here.
We want to introduce a second option, to have the Dashboard exposed publicly (without the need of a port forward).
While that could introduce a security whole, we want to protect the exposed dashboard by default with basic authentication. The credentials can either be provided prior to the installation, or otherwise a random pair will be generated.
Partially fixes #185
Would be nice to have that in the helm chart already.
I propose we create specific services for the dashboard along with an real ingress (which you could annotate for auth or whatever). This would allow you to bind the dashboard to a different ingress controller altogether (ie: something that isn't publicly accessible for example etc).
I proposed this previously and it got shot down but it may be time to revisit.
I have it implemented in my fork here: https://github.com/travisghansen/traefik-helm-chart
A less breaking change might be to allow adding middleware to the ingressroute via values.yaml