I’m currently trying out the Traefik gateway in k3s after using ingress for many years. I'm installed Traefik using the helm chart and in my current configuration I have a permanent redirect from web to websecure:
ports:
web:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
websecure:
tls:
enabled: true
My gateway config is:
gateway:
name: traefik-internal
listeners:
web:
namespacePolicy:
from: All
websecure:
protocol: HTTPS
port: 8443
namespacePolicy:
from: All
certificateRefs:
- name: <<tls-cert>>
All this works fine, apart form the fact I end up with two httprouters showing the in the Traefik dashboard, one for web and one for websecure whereas my ingress configurations only have a websecure entry.
I've tried deleting the 3 lines for web under listeners but because the default values.yaml for the chart defines the web listener there is nothing I seem to be able to only have a websecure listener.
Before I raise a feature request against the Traefik helm chart I thought I would check with you guys whether this was a sensible suggestion. As I said earlier, using the gateway httproute seems to work fine, I just want to tidy my dashboard.