From 60942da225fdd93c613b645b3c470d5428d4845d Mon Sep 17 00:00:00 2001 From: Benedikt Iltisberger Date: Wed, 4 Sep 2024 19:31:02 +0200 Subject: [PATCH] fix: added nginx.org ingress controller via detection. --- kubernetes/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/utils.go b/kubernetes/utils.go index 87179de..7b8130b 100644 --- a/kubernetes/utils.go +++ b/kubernetes/utils.go @@ -591,7 +591,7 @@ func DetermineIngressControllerType(contextId *string) (IngressType, error) { unknownController := "" for _, ingressClass := range ingressClasses { - if ingressClass.Spec.Controller == "k8s.io/ingress-nginx" { + if ingressClass.Spec.Controller == "k8s.io/ingress-nginx" || ingressClass.Spec.Controller == "nginx.org/ingress-controller" { return NGINX, nil } else if ingressClass.Spec.Controller == "traefik.io/ingress-controller" { return TRAEFIK, nil