adamant-kite-43734
09/12/2024, 9:46 PMcreamy-pencil-82913
09/12/2024, 10:00 PMcreamy-pencil-82913
09/12/2024, 10:02 PMcreamy-pencil-82913
09/12/2024, 10:03 PMgifted-breakfast-73755
09/12/2024, 10:20 PMgifted-breakfast-73755
09/12/2024, 10:25 PM/v1/provisioning.cattle.io.clusters and if I pass in metadata.name=my-test-cluster the Clusters page in the Rancher UI correctly lists the name of the cluster as my-test-cluster and when I click View in API it takes me to /v1/provisioning.cattle.io.clusters/fleet-default/my-test-cluster and I see that the id field includes the namespace and is fleet-default/my-test-cluster but when I click Download KubeConfig it calls /v3/clusters/c-m-skbrfs6b?action=generateKubeconfig so I was wondering what c-m-skbrfs6b is since it's not the cluster name I passed in nor the cluster ID but when viewing the cluster in the API I see that it's under status.clusterName.gifted-breakfast-73755
09/12/2024, 10:26 PMstatus.clusterName so I'm wondering if there is another way to download the kubeconfig via API without using that field or if my script needs to keep doing a GET to /v1/provisioning.cattle.io.clusters/fleet-default/my-test-cluster until the status.clusterName field is in the response...creamy-pencil-82913
09/12/2024, 10:34 PMcreamy-pencil-82913
09/12/2024, 10:34 PMgifted-breakfast-73755
09/12/2024, 10:39 PMcreamy-pencil-82913
09/12/2024, 10:40 PMgifted-breakfast-73755
09/12/2024, 10:40 PMgifted-breakfast-73755
09/12/2024, 10:40 PMcreamy-pencil-82913
09/12/2024, 10:42 PMcreamy-pencil-82913
09/12/2024, 10:42 PMgifted-breakfast-73755
09/12/2024, 10:43 PM