Fix ingress spec in given examples

### Description
A previous PR (#1978) updated the ingress API version but the spec needed an update as well. I tested this locally by applying the yaml with a valid DNS hostname.

### Checklist
- [ ] Unit tests updated
- [x] End user documentation updated
This commit is contained in:
Greg Whorley 2021-11-03 12:26:20 -07:00 committed by GitHub
parent ab7a96595a
commit 03ee303979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,11 @@ spec:
http: &echoserver_root
paths:
- backend:
serviceName: echoserver
servicePort: 80
path: /
service:
name: echoserver
port:
number: 80
pathType: ImplementationSpecific
- host: echoserver.example.org
http: *echoserver_root
```
@ -123,9 +125,11 @@ spec:
- http:
paths:
- backend:
serviceName: echoserver
servicePort: 80
path: /
service:
name: echoserver
port:
number: 80
pathType: ImplementationSpecific
```
In the above example we create a default path that works for any hostname, and
@ -159,9 +163,11 @@ spec:
http:
paths:
- backend:
serviceName: echoserver
servicePort: 80
path: /
service:
name: echoserver
port:
number: 80
pathType: ImplementationSpecific
```
The above Ingress object will result in the creation of an ALB with a dualstack