ingress: Use networking.k8s.io/v1beta1 in Ingress examples (#14239)

This patch swaps all uses with extensions/v1beta1 with the new
networking.k8s.io/v1beta1 apiVersion for the Ingress resource.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
This commit is contained in:
cmluciano
2019-05-08 17:14:38 -04:00
committed by Kubernetes Prow Robot
parent de62ee2d2b
commit f43a96d548
10 changed files with 22 additions and 22 deletions
@@ -73,7 +73,7 @@ Make sure you review your ingress controller's documentation to understand the c
A minimal ingress resource example:
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: test-ingress
@@ -169,7 +169,7 @@ foo.bar.com -> 178.91.123.132 -> / foo service1:4200
would require an Ingress such as:
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: simple-fanout-example
@@ -239,7 +239,7 @@ The following Ingress tells the backing loadbalancer to route requests based on
the [Host header](https://tools.ietf.org/html/rfc7230#section-5.4).
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: name-virtual-host-ingress
@@ -267,7 +267,7 @@ to the IP address without a hostname defined in request (that is, without a requ
presented) to `service3`.
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: name-virtual-host-ingress
@@ -321,7 +321,7 @@ sure the TLS secret you created came from a certificate that contains a CN
for `sslexample.foo.com`.
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: tls-example-ingress