Enable validation of ingress definitions from extensions package

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-10-23 12:58:10 -03:00
parent fb6a03ffb4
commit 703c2d6f8e
12 changed files with 225 additions and 79 deletions

View file

@ -53,7 +53,7 @@ func IsValid(ing *networking.Ingress) bool {
}
// 2. k8s < v1.18. Check default annotation
if !k8s.IsIngressV1Ready {
if !k8s.IsIngressV1Beta1Ready {
return IngressClass == DefaultClass
}