Merge pull request #446 from gianrubio/remove-configmap-validation
remove configmap validations .
This commit is contained in:
commit
ac43d766ec
1 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue