Fixes path in first ingress resource yaml (#17017)

When the second path is attached to `example-ingress` for `/v2` it doesn't work because the first path captures all paths. Solution is the make the `/` capture everything except `/v2` (also captures `/v2/<anything else>`)
This commit is contained in:
Kevin Kelani 2019-10-23 08:24:19 -07:00 committed by Kubernetes Prow Robot
parent d600ed6f0c
commit 228ac01c84
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ The following file is an Ingress resource that sends traffic to your Service via
- host: hello-world.info
http:
paths:
- path: /|/(.+)
- path: /
backend:
serviceName: web
servicePort: 8080