You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/kk/cmd/create/cluster.go
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ type CreateClusterOptions struct {
47
47
Artifactstring
48
48
InstallPackagesbool
49
49
WithBuildxbool
50
+
OnlyEtcdbool
50
51
51
52
localStorageChangedbool
52
53
}
@@ -114,7 +115,6 @@ func (o *CreateClusterOptions) Run() error {
114
115
KubernetesVersion: o.Kubernetes,
115
116
KsEnable: o.EnableKubeSphere,
116
117
KsVersion: o.KubeSphere,
117
-
SkipInstallAddons: o.SkipInstallAddons,
118
118
SkipPullImages: o.SkipPullImages,
119
119
SkipPushImages: o.SkipPushImages,
120
120
SecurityEnhancement: o.SecurityEnhancement,
@@ -125,7 +125,6 @@ func (o *CreateClusterOptions) Run() error {
125
125
Artifact: o.Artifact,
126
126
InstallPackages: o.InstallPackages,
127
127
Namespace: o.CommonOptions.Namespace,
128
-
WithBuildx: o.WithBuildx,
129
128
}
130
129
131
130
ifo.localStorageChanged {
@@ -141,7 +140,6 @@ func (o *CreateClusterOptions) AddFlags(cmd *cobra.Command) {
141
140
cmd.Flags().StringVarP(&o.Kubernetes, "with-kubernetes", "", "", "Specify a supported version of kubernetes")
142
141
cmd.Flags().BoolVarP(&o.LocalStorage, "with-local-storage", "", false, "Deploy a local PV provisioner")
143
142
cmd.Flags().BoolVarP(&o.EnableKubeSphere, "with-kubesphere", "", false, fmt.Sprintf("Deploy a specific version of kubesphere (default %s)", kubesphere.Latest().Version))
0 commit comments