Merge pull request #441 from gianrubio/skip-validation

skip validation when configmap is empty
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-03-14 11:25:23 -03:00 committed by GitHub
commit 2f01845964

View file

@ -129,6 +129,11 @@ func NewIngressController(backend ingress.Controller) *GenericController {
}
for _, configMap := range []string{*configMap, *tcpConfigMapName, *udpConfigMapName} {
if configMap == "" {
continue
}
_, err = k8s.IsValidConfigMap(kubeClient, configMap)
if err != nil {