1
0
Fork 0
traefik/pkg/provider/kubernetes/ingress-nginx/fixtures/ingresses/10-ingress-with-use-regex.yml
LBF38 1881434ac6
Fix use-regex nginx annotation
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2026-01-09 17:18:05 +01:00

22 lines
476 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-with-use-regex
namespace: default
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: use-regex.localhost
http:
paths:
- path: /test(.*)
pathType: ImplementationSpecific
backend:
service:
name: whoami
port:
number: 80