From d2558b2e101bfd10f011e7b1d63e82e3df6620dc Mon Sep 17 00:00:00 2001 From: lou-lan Date: Sun, 3 Apr 2022 13:28:01 +0800 Subject: [PATCH] FIx Ingress pathType. Each path in an Ingress is required to have a corresponding path type. --- site/content/docs/v1.20.1/config/fundamentals.md | 1 + site/content/docs/v1.20.1/config/virtual-hosts.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/site/content/docs/v1.20.1/config/fundamentals.md b/site/content/docs/v1.20.1/config/fundamentals.md index a8a5785cdad..1ff6cf2c3d1 100644 --- a/site/content/docs/v1.20.1/config/fundamentals.md +++ b/site/content/docs/v1.20.1/config/fundamentals.md @@ -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`. diff --git a/site/content/docs/v1.20.1/config/virtual-hosts.md b/site/content/docs/v1.20.1/config/virtual-hosts.md index d45dda37594..1c98559436c 100644 --- a/site/content/docs/v1.20.1/config/virtual-hosts.md +++ b/site/content/docs/v1.20.1/config/virtual-hosts.md @@ -29,6 +29,7 @@ spec: name: s1 port: number: 80 + pathType: Prefix - host: bar1.bar.com http: paths: @@ -37,6 +38,7 @@ spec: name: s2 port: number: 80 + pathType: Prefix ``` must be represented by two different HTTPProxy objects: