This commit is contained in:
Rodrigo Menezes 2017-10-25 21:33:21 -07:00
parent 1edd99ccc1
commit 8ad9b3c931
1 changed files with 1 additions and 1 deletions

View File

@ -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
}