I have multiple IngressRoute definitions with the same match field, is there any way I can set this value from a common place like a ConfigMap?
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: my-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`my-site.com`) && PathPrefix(`/grafana`)
kind: Rule
services:
- name: my-grafana
port: 3000
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: my-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`my-site.com`) && PathPrefix(`/main`)
kind: Rule
services:
- name: my-site
port: 80