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:
parent
d600ed6f0c
commit
228ac01c84
|
@ -146,7 +146,7 @@ The following file is an Ingress resource that sends traffic to your Service via
|
||||||
- host: hello-world.info
|
- host: hello-world.info
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /|/(.+)
|
- path: /
|
||||||
backend:
|
backend:
|
||||||
serviceName: web
|
serviceName: web
|
||||||
servicePort: 8080
|
servicePort: 8080
|
||||||
|
|
Loading…
Reference in New Issue