Files
traefik/pkg/provider/kubernetes/ingress-nginx/fixtures/ingresses/ingress-with-app-root.yml
2026-01-29 15:08:34 +01:00

23 lines
450 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-with-app-root
namespace: default
annotations:
nginx.ingress.kubernetes.io/app-root: /foo
spec:
ingressClassName: nginx
rules:
- host: app-root.localhost
http:
paths:
- path: /bar
pathType: Prefix
backend:
service:
name: whoami
port:
number: 80