Adds pathType for v1 ingresses examples
This commit is contained in:
parent
ddcb003b3b
commit
2b73860ea5
2 changed files with 10 additions and 0 deletions
|
@ -70,12 +70,14 @@ spec:
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: /bar
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: service1
|
name: service1
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
- path: /foo
|
- path: /foo
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: service1
|
name: service1
|
||||||
|
@ -312,6 +314,7 @@ Otherwise, Ingresses missing the annotation, having an empty value, or the value
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: "/example"
|
- path: "/example"
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: "example-service"
|
name: "example-service"
|
||||||
|
|
|
@ -99,12 +99,14 @@ which in turn will create the resulting routers, services, handlers, etc.
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: /bar
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
- path: /foo
|
- path: /foo
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
|
@ -483,12 +485,14 @@ This way, any Ingress attached to this Entrypoint will have TLS termination by d
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: /bar
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
- path: /foo
|
- path: /foo
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
|
@ -690,12 +694,14 @@ For more options, please refer to the available [annotations](#on-ingress).
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: /bar
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
- path: /foo
|
- path: /foo
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
|
@ -836,6 +842,7 @@ For more options, please refer to the available [annotations](#on-ingress).
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: /bar
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: service1
|
name: service1
|
||||||
|
|
Loading…
Reference in a new issue