fix ingress syntax. (#7867)

This commit is contained in:
counter2015 2021-11-02 08:12:58 +08:00 committed by GitHub
parent e34ca93ad6
commit ed34f6c93d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 204 additions and 105 deletions

View file

@ -15,10 +15,13 @@ spec:
- host: stickyingress-samesite-none.example.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
@ -35,7 +38,10 @@ spec:
- host: stickyingress-samesite-strict.example.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80

View file

@ -13,7 +13,10 @@ spec:
- host: stickyingress.example.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80