Skip to content

Commit

Permalink
fix(installer): global cls use containerd (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoryu committed Sep 9, 2021
1 parent 351b9a6 commit 890c472
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/tke-installer/app/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,7 @@ func (t *TKE) createGlobalCluster(ctx context.Context) error {
}
t.completeWithProvider()

if len(t.Cluster.Spec.Features.ContainerRuntime) == 0 {
t.Cluster.Spec.Features.ContainerRuntime = platformv1.Containerd
}
t.Cluster.Spec.Features.ContainerRuntime = platformv1.Containerd

if t.Cluster.Spec.ClusterCredentialRef == nil {
credential := &platformv1.ClusterCredential{
Expand Down

0 comments on commit 890c472

Please sign in to comment.