traefik/integration/fixtures/k8s/03-ingress.yml

20 lines
372 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test.ingress
namespace: default
labels:
app: traefik
spec:
rules:
- host: whoami.test
http:
paths:
- path: /whoami
backend:
service:
name: whoami
port:
name: http
pathType: Prefix