Skip to content

Commit

Permalink
Merge pull request #9324 from bertinatto/selinux
Browse files Browse the repository at this point in the history
Allow docker options to be specified by create cluster overrides
  • Loading branch information
k8s-ci-robot authored Jun 10, 2020
2 parents c493264 + 0d5a565 commit 1076eec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/commands/set_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 1076eec

Please sign in to comment.