From 8ad9b3c93148077d06af9843eaebe355eb6d674d Mon Sep 17 00:00:00 2001 From: Rodrigo Menezes Date: Wed, 25 Oct 2017 21:33:21 -0700 Subject: [PATCH] fix --- nodeup/pkg/model/kube_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodeup/pkg/model/kube_proxy.go b/nodeup/pkg/model/kube_proxy.go index 68af742c5c..c3ad2604ef 100644 --- a/nodeup/pkg/model/kube_proxy.go +++ b/nodeup/pkg/model/kube_proxy.go @@ -44,7 +44,7 @@ var _ fi.ModelBuilder = &KubeAPIServerBuilder{} // @TODO we should probaby change this to a daemonset in the future and follow the kubeadm path func (b *KubeProxyBuilder) Build(c *fi.ModelBuilderContext) error { - if *b.Cluster.Spec.KubeProxy.Enabled == false { + if b.Cluster.Spec.KubeProxy.Enabled != nil && *b.Cluster.Spec.KubeProxy.Enabled == false { glog.V(2).Infof("Kube-proxy is disabled, will not create configuration for it.") return nil }