Skip to content

Commit 09e394e

Browse files
authored
Merge pull request kosmos-io#245 from OrangeBao/main
fix: sync ca from root cluster
2 parents 409d473 + 6940862 commit 09e394e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func (r *RootPodReconciler) createCAInLeafCluster(ctx context.Context, lr *leafU
445445
Name: utils.RooTCAConfigMapName,
446446
}
447447

448-
err = lr.Client.Get(ctx, rootCAConfigmapKey, ca)
448+
err = r.Client.Get(ctx, rootCAConfigmapKey, ca)
449449
if err != nil {
450450
return nil, fmt.Errorf("could not find configmap %s in master cluster: %v", ca, err)
451451
}

0 commit comments

Comments
 (0)