From 15385c6d566161c2380b555a58211d207087cdec Mon Sep 17 00:00:00 2001 From: Austin Wise Date: Sun, 26 Sep 2021 10:48:22 -0700 Subject: [PATCH] Tweak documentation formating about deprecated `apiVersion` values. (#7663) * Tweak documentation formating about deprecated `apiVersion` values. * retweak after rebase --- docs/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 2ad14162d..fe9f4c9d8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -63,11 +63,12 @@ FIELDS: There are 2 reasons primarily. -(Reason #1) Until K8s version 1.21, it was possible to create a ingress resource, with the "apiVersion:" field set to a value like ; +(Reason #1) Until K8s version 1.21, it was possible to create a ingress resource, with the "apiVersion:" field set to a value like: + - extensions/v1beta1 - networking.k8s.io/v1beta1 - (You would get a message about deprecation but the ingress resource would get created.) +You would get a message about deprecation but the ingress resource would get created. From K8s version 1.22 onwards, you can ONLY set the "apiVersion:" field of a ingress resource, to the value "networking.k8s.io/v1". The reason is [official blog on deprecated ingress api versions](https://kubernetes.io/blog/2021/07/26/update-with-ingress-nginx/).