Skip to content

Commit

Permalink
fix: added nginx.org ingress controller via detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
beneiltis committed Sep 4, 2024
1 parent 67e48ff commit 60942da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60942da

Please sign in to comment.