remove configmap validations . rollback #441, fix #443

This commit is contained in:
Giancarlo Rubio 2017-03-15 12:39:39 +01:00 committed by Kirill Levin
parent 7eff2f33ab
commit 75621c85c1

View file

@ -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)