diff --git a/pkg/commands/set_cluster.go b/pkg/commands/set_cluster.go index 7f39e20e5c4a6..9cf1465aa87de 100644 --- a/pkg/commands/set_cluster.go +++ b/pkg/commands/set_cluster.go @@ -92,6 +92,11 @@ func SetClusterFields(fields []string, cluster *api.Cluster, instanceGroups []*a cluster.Spec.Kubelet.AuthenticationTokenWebhook = &v case "cluster.spec.nodePortAccess": cluster.Spec.NodePortAccess = append(cluster.Spec.NodePortAccess, kv[1]) + case "spec.docker.execOpt": + if cluster.Spec.Docker == nil { + cluster.Spec.Docker = &api.DockerConfig{} + } + cluster.Spec.Docker.ExecOpt = append(cluster.Spec.Docker.ExecOpt, kv[1]) case "spec.kubernetesVersion": cluster.Spec.KubernetesVersion = kv[1] case "spec.masterPublicName":