Add Traefik ingress class annotation to IngressRoute

Traefik will not pick up the ingressRoute if not annotated properly
This commit is contained in:
George Mess 2025-12-10 14:03:58 +01:00 committed by GitHub
parent 653b105cb7
commit 0c6545311e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,6 +190,8 @@ apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: whoami
annotations:
kubernetes.io/ingress.class: traefik
spec:
entryPoints:
- web