Skip to content

Commit

Permalink
FIx Ingress pathType. Each path in an Ingress is required to have a c…
Browse files Browse the repository at this point in the history
…orresponding path type.
  • Loading branch information
lou-lan committed Apr 3, 2022
1 parent 6112181 commit d2558b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/content/docs/v1.20.1/config/fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
name: s1
port:
number: 80
pathType: Prefix
```
This Ingress object, named `basic`, will route incoming HTTP traffic with a `Host:` header for `foo-basic.bar.com` to a Service named `s1` on port `80`.
Expand Down
2 changes: 2 additions & 0 deletions site/content/docs/v1.20.1/config/virtual-hosts.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
name: s1
port:
number: 80
pathType: Prefix
- host: bar1.bar.com
http:
paths:
Expand All @@ -37,6 +38,7 @@ spec:
name: s2
port:
number: 80
pathType: Prefix
```
must be represented by two different HTTPProxy objects:
Expand Down

0 comments on commit d2558b2

Please sign in to comment.