Per Kubernetes 1.22, v1beta1 ingress is dropped. This commit autodetects ingress capabilites and templates correct ingress (legacy extensions/v1beta1, networking/v1beta1 and networking/v1), including optional ingress class name.
As I do not have a < 1.18 cluster (ie, without networking/v1) around or even < 1.16 (without v1beta1) I have not been able to test if the old templating actually works.
Per Kubernetes 1.22, v1beta1 ingress is dropped. This commit autodetects ingress capabilites and templates correct ingress (legacy extensions/v1beta1, networking/v1beta1 and networking/v1), including optional ingress class name.
As I do not have a < 1.18 cluster (ie, without networking/v1) around or even < 1.16 (without v1beta1) I have not been able to test if the old templating actually works.