Hello!
In following ingress route I want to pass host as variable or through configmap so that I dont need to mention host everywhere.
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: ingressroute-keycloak
namespace: fsm
spec:
entryPoints:
- web
- websecure
routes:
- match: Host<>(dev.abc-def.org
)</> && PathPrefix(/a/b/c/d/e/f
)
kind: Rule
services:
- kind: Service
name: aaa-bbb-service
namespace: aaa
port: 8080
- match: Host<>(`dev.abv-def.org`)</> && PathPrefix(`/a/b/c/`)
kind: Rule
middlewares:
- name: https-redirect
namespace: fsm
services:
- kind: Service
name: keyclock
namespace: aaa
port: 8080