@@ -280,12 +280,12 @@ func getProviderIDPrefix(ctx context.Context, mgmtClient client.Client, workload
280
280
281
281
// providerIDFromKubeadmConfig attempts to determine the appropriate providerID prefix to use based on the configuration
282
282
// of the referenced KubeadmConfig resource. It uses the following precedence:
283
- // - If an explicit providerID is being configured for the kubelet through extra arguments in the InitConfiguration, use it
284
- // - If an explicit providerID is being configured for the kubelet through extra arguments in the JoinConfiguration, use it
285
- // (InitConfiguration and JoinConfiguration are mutually exclusive options)
286
- // - If the PostKubeadmCommands are deploying packet-ccm, use "packet"
287
- // - If the PostKubeadmCommands are deploying cloud-provider-equinix-metal, use "equinixmetal"
288
- // - Otherwise, return ""
283
+ // - If an explicit providerID is being configured for the kubelet through extra arguments in the InitConfiguration, use it
284
+ // - If an explicit providerID is being configured for the kubelet through extra arguments in the JoinConfiguration, use it
285
+ // (InitConfiguration and JoinConfiguration are mutually exclusive options)
286
+ // - If the PostKubeadmCommands are deploying packet-ccm, use "packet"
287
+ // - If the PostKubeadmCommands are deploying cloud-provider-equinix-metal, use "equinixmetal"
288
+ // - Otherwise, return ""
289
289
func providerIDFromKubeadmConfig (ctx context.Context , mgmtClient client.Client , namespace , name string ) (string , error ) {
290
290
kubeadmConfig := new (bootstrapv1.KubeadmConfig )
291
291
key := client.ObjectKey {
0 commit comments