Require Kubernetes v1.14 or higher and deprecate extensions
This commit is contained in:
parent
f55a47e461
commit
b1f0d28634
5 changed files with 14 additions and 116 deletions
|
|
@ -106,7 +106,7 @@ func main() {
|
|||
|
||||
k8s.IsNetworkingIngressAvailable, k8s.IsIngressV1Ready = k8s.NetworkingIngressAvailable(kubeClient)
|
||||
if !k8s.IsNetworkingIngressAvailable {
|
||||
klog.Warningf("Using deprecated \"k8s.io/api/extensions/v1beta1\" package because Kubernetes version is < v1.14.0")
|
||||
klog.Fatalf("ingress-nginx requires Kubernetes v1.14.0 or higher")
|
||||
}
|
||||
|
||||
if k8s.IsIngressV1Ready {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue