mirror of https://github.com/kubernetes/kops.git
fix
This commit is contained in:
parent
1edd99ccc1
commit
8ad9b3c931
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue