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: 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"

View file

@ -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