Skip to content

Commit

Permalink
Merge pull request kosmos-io#245 from OrangeBao/main
Browse files Browse the repository at this point in the history
fix: sync ca from root cluster
  • Loading branch information
kosmos-robot authored Nov 15, 2023
2 parents 409d473 + 6940862 commit 09e394e
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 09e394e

Please sign in to comment.