This method is currentley not working with Traefik 2.2
You should deploy Traefik and after it was started successfully deploy the needed IngressRoute.
Otherwise letsencrypt certificate generation will fail.
See this terraform script that deploy the official Traefik Helm Chart and additionally the IngressRoute and middleware.
This Helm Chart is based on the official Traefk Chart, but add also an ``IngressRouteand a
Midleware` for the Traefik Dashboard to make it public available
helm repo add vbr https://raw.githubusercontent.com/v-braun/traefik-helm-chart/master/
helm repo update
helm install traefik vbr/vbr-traefik
# public host for the dashboard
publicHost: dashboard.your-domain.here
ingressRoute:
# additional annotations that should be added to the ingress route
annotations: {}
# additional labels that should be added to the ingress route
labels: {}
# secret used for basic auth
# secret should be generated with htpaswd (user:hashedpassword)
authSecretName: "my secret"
# entry points that the dashboard should be available on
entryPoints:
- web
- websecure
# configure here the main traefik chart values
# see here: https://github.com/containous/traefik-helm-chart/blob/master/traefik/values.yaml
#
# traefik:
# ...
After changes in this repo, the following steps should be executed:
- Increase the version number in
Chart.yaml
- Package the Chart
helm package .
- Index the repo
helm repo index .
Make sure to read these guides before getting started:
traefik-helm-chart is available under the MIT License. See LICENSE for details.