mirror of
https://github.com/traefik/traefik.git
synced 2026-02-03 20:39:51 -05:00
Add Traefik ingress class annotation to IngressRoute
Traefik will not pick up the ingressRoute if not annotated properly
This commit is contained in:
parent
653b105cb7
commit
0c6545311e
1 changed files with 2 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ apiVersion: traefik.io/v1alpha1
|
|||
kind: IngressRoute
|
||||
metadata:
|
||||
name: whoami
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
|
|
|
|||
Loading…
Reference in a new issue