Merge pull request #446 from gianrubio/remove-configmap-validation

remove configmap validations .
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-03-15 09:10:24 -03:00 committed by GitHub
commit ac43d766ec

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)