traefik/integration/fixtures/k8s/03-ingressroute.yml
2019-04-15 11:14:05 +02:00

17 lines
280 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test.crd
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`foo.com`) && PathPrefix(`/bar`)
kind: Rule
priority: 12
services:
- name: whoami
port: 80