traefik-helm-chart icon indicating copy to clipboard operation
traefik-helm-chart copied to clipboard

Expose the dashboard publicly (with basic authentication)

Open SantoDE opened this issue 5 years ago • 2 comments
trafficstars

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

SantoDE avatar May 27 '20 07:05 SantoDE

Would be nice to have that in the helm chart already.

fireba11 avatar Aug 31 '20 12:08 fireba11

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

travisghansen avatar Sep 01 '20 16:09 travisghansen

A less breaking change might be to allow adding middleware to the ingressroute via values.yaml

jbergler avatar Oct 18 '22 05:10 jbergler