From f86a83347dee4a5aa31a8c12c2747bc4f0606286 Mon Sep 17 00:00:00 2001 From: Chris Moos Date: Thu, 26 Oct 2017 16:23:48 -0700 Subject: [PATCH] Fix issue with clusterIP detection on service upstream. #1534 --- pkg/ingress/controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingress/controller/controller.go b/pkg/ingress/controller/controller.go index d6608f8b2..4de08b262 100644 --- a/pkg/ingress/controller/controller.go +++ b/pkg/ingress/controller/controller.go @@ -819,7 +819,7 @@ func (ic *GenericController) getServiceClusterEndpoint(svcKey string, backend *e } svc := svcObj.(*apiv1.Service) - if svc.Spec.ClusterIP == "" { + if svc.Spec.ClusterIP == "" || svc.Spec.ClusterIP == "None" { return endpoint, fmt.Errorf("No ClusterIP found for service %s", svcKey) }