mirror of
https://gitee.com/rancher/rancher.git
synced 2025-12-06 15:59:37 +08:00
* Add CA of cluster beside host in local kubeconfig secret This should prevent the Fleet agent from failing to reach the management cluster with errors about a certificate being signed by an unknown authority. * Skip API server data population when not running in cluster When Rancher does not run inside a cluster, as can be the case in local development setups, populating the API server host and CA would feed local host kubeconfig data into Rancher (eg. 0.0.0.0 from local kubeconfigs featuring k3d clusters), which would prevent the Fleet agent from registering against the management cluster. --------- Co-authored-by: Mario Manno <mario.manno@suse.com>