Skip to content

Commit

Permalink
fix: sync ca from root cluster
Browse files Browse the repository at this point in the history
Signed-off-by: OrangeBao <[email protected]>
  • Loading branch information
OrangeBao authored and duanmengkk committed Nov 15, 2023
1 parent e878994 commit b8716ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (r *RootPodReconciler) createCAInLeafCluster(ctx context.Context, lr *leafU
Name: utils.RooTCAConfigMapName,
}

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

0 comments on commit b8716ea

Please sign in to comment.