reference middleware in traefik release

This commit is contained in:
Michael Thomson
2023-11-27 21:46:46 -05:00
parent 8ddbe3b83b
commit 3b2ca43e25

View File

@@ -174,7 +174,8 @@ spec:
# /!\ Do not expose your dashboard without any protection over the internet /!\
entryPoints: ["traefik"]
# -- Additional ingressRoute middlewares (e.g. for authentication)
middlewares: []
middlewares:
- traefik-authentik@kubernetescrd
# -- TLS options (e.g. secret containing certificate)
tls: {}
healthcheck:
@@ -733,7 +734,8 @@ spec:
# middlewares:
# - namespace-name1@kubernetescrd
# - namespace-name2@kubernetescrd
middlewares: []
middlewares:
- traefik-authentik@kubernetescrd
metrics:
# -- When using hostNetwork, use another port to avoid conflict with node exporter:
# https://github.com/prometheus/prometheus/wiki/Default-port-allocations