Skip to content

Commit

Permalink
skip validation on empty configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
gianrubio committed Mar 14, 2017
1 parent c67e106 commit 1e1e4dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/pkg/ingress/controller/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e1e4dc

Please sign in to comment.