Closed ivan-cai closed 2 years ago
@qiujian16 plz review.
@qiujian16 I have refactored the codes, and merged serverUrl. I have also ingored the Unauthorized error. Plz review again, thx!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ivan-cai, qiujian16
The full list of commands accepted by this bot can be found here.
The pull request process is described here
…istration-agent running
Sometimes, ManagedCluster is created before deploy klusterlet, we want registration-agent can also update serverURL and CABundle from Klusterlet CR while it is running.
cluster-gateway will use serverURL and CABundle in ManagedCluster if ClusterEndpointType is
Const
notClusterProxy
.Signed-off-by: ivan-cai caijing.cai@alibaba-inc.com