Adds pathType for v1 ingresses examples

This commit is contained in:
Romain 2021-09-02 10:20:12 +02:00 committed by GitHub
parent ddcb003b3b
commit 2b73860ea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -70,12 +70,14 @@ spec:
http:
paths:
- path: /bar
pathType: Exact
backend:
service:
name: service1
port:
number: 80
- path: /foo
pathType: Exact
backend:
service:
name: service1
@ -312,6 +314,7 @@ Otherwise, Ingresses missing the annotation, having an empty value, or the value
http:
paths:
- path: "/example"
pathType: Exact
backend:
service:
name: "example-service"

View file

@ -99,12 +99,14 @@ which in turn will create the resulting routers, services, handlers, etc.
http:
paths:
- path: /bar
pathType: Exact
backend:
service:
name: whoami
port:
number: 80
- path: /foo
pathType: Exact
backend:
service:
name: whoami
@ -483,12 +485,14 @@ This way, any Ingress attached to this Entrypoint will have TLS termination by d
http:
paths:
- path: /bar
pathType: Exact
backend:
service:
name: whoami
port:
number: 80
- path: /foo
pathType: Exact
backend:
service:
name: whoami
@ -690,12 +694,14 @@ For more options, please refer to the available [annotations](#on-ingress).
http:
paths:
- path: /bar
pathType: Exact
backend:
service:
name: whoami
port:
number: 80
- path: /foo
pathType: Exact
backend:
service:
name: whoami
@ -836,6 +842,7 @@ For more options, please refer to the available [annotations](#on-ingress).
http:
paths:
- path: /bar
pathType: Exact
backend:
service:
name: service1