Skip to content

Commit 890c472

Browse files
authored
fix(installer): global cls use containerd (#1558)
1 parent 351b9a6 commit 890c472

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/tke-installer/app/installer/installer.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,9 +1188,7 @@ func (t *TKE) createGlobalCluster(ctx context.Context) error {
11881188
}
11891189
t.completeWithProvider()
11901190

1191-
if len(t.Cluster.Spec.Features.ContainerRuntime) == 0 {
1192-
t.Cluster.Spec.Features.ContainerRuntime = platformv1.Containerd
1193-
}
1191+
t.Cluster.Spec.Features.ContainerRuntime = platformv1.Containerd
11941192

11951193
if t.Cluster.Spec.ClusterCredentialRef == nil {
11961194
credential := &platformv1.ClusterCredential{

0 commit comments

Comments
 (0)