From 3570d44370a5bf32f4e3e1a79c37fd00726a4722 Mon Sep 17 00:00:00 2001 From: Giancarlo Rubio Date: Wed, 15 Mar 2017 12:39:39 +0100 Subject: [PATCH] remove configmap validations . rollback #441, fix #443 --- core/pkg/ingress/controller/launch.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/pkg/ingress/controller/launch.go b/core/pkg/ingress/controller/launch.go index 144da39697..d532c06532 100644 --- a/core/pkg/ingress/controller/launch.go +++ b/core/pkg/ingress/controller/launch.go @@ -128,19 +128,6 @@ func NewIngressController(backend ingress.Controller) *GenericController { glog.Infof("service %v validated as source of Ingress status", *publishSvc) } - for _, configMap := range []string{*configMap, *tcpConfigMapName, *udpConfigMapName} { - - if configMap == "" { - continue - } - - _, err = k8s.IsValidConfigMap(kubeClient, configMap) - - if err != nil { - glog.Fatalf("%v", err) - } - } - if *watchNamespace != "" { _, err = k8s.IsValidNamespace(kubeClient, *watchNamespace)