Skip to content

Commit 8511727

Browse files
committed
test justin's patch in #16125
1 parent 8f749a5 commit 8511727

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/kops/create_cluster.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
408408
return []string{"json", "yaml"}, cobra.ShellCompDirectiveNoFileComp
409409
})
410410

411-
cmd.Flags().StringSliceVar(&options.Sets, "override", options.Sets, "Directly set values in the spec")
411+
cmd.Flags().StringArrayVar(&options.Sets, "override", options.Sets, "Directly set values in the spec")
412412
cmd.Flags().MarkDeprecated("override", "use --set instead")
413-
cmd.Flags().StringSliceVar(&options.Sets, "set", options.Sets, "Directly set values in the spec")
413+
cmd.Flags().StringArrayVar(&options.Sets, "set", options.Sets, "Directly set values in the spec")
414414
cmd.RegisterFlagCompletionFunc("set", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
415415
return nil, cobra.ShellCompDirectiveNoFileComp
416416
})

tests/e2e/kubetest2-kops/deployer/up.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (d *deployer) createCluster(zones []string, adminAccess string, yes bool) e
130130
"--kubernetes-version", d.KubernetesVersion,
131131
"--ssh-public-key", d.SSHPublicKeyPath,
132132
"--set", "cluster.spec.nodePortAccess=0.0.0.0/0",
133-
"--set", `spec.containerd.configAdditions="plugins.""io.containerd.grpc.v1.cri"".containerd.runtimes.test-handler.runtime_type=""io.containerd.runc.v2"""`,
133+
"--set", `spec.containerd.configAdditions=plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler.runtime_type="io.containerd.runc.v2"`,
134134
}
135135
if yes {
136136
args = append(args, "--yes")

0 commit comments

Comments
 (0)