Explorar el Código

make label selector less stringent

Alexander Belanger hace 5 años
padre
commit
343e9aa4a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      internal/kubernetes/domain/domain.go

+ 1 - 1
internal/kubernetes/domain/domain.go

@@ -19,7 +19,7 @@ import (
 // GetNGINXIngressServiceIP retrieves the external address of the nginx-ingress service
 // GetNGINXIngressServiceIP retrieves the external address of the nginx-ingress service
 func GetNGINXIngressServiceIP(clientset kubernetes.Interface) (string, bool, error) {
 func GetNGINXIngressServiceIP(clientset kubernetes.Interface) (string, bool, error) {
 	svcList, err := clientset.CoreV1().Services("").List(context.TODO(), metav1.ListOptions{
 	svcList, err := clientset.CoreV1().Services("").List(context.TODO(), metav1.ListOptions{
-		LabelSelector: "app.kubernetes.io/component=controller,app.kubernetes.io/managed-by=Helm",
+		LabelSelector: "app.kubernetes.io/managed-by=Helm",
 	})
 	})
 
 
 	if err != nil {
 	if err != nil {