Skip to content

Commit cdca0c3

Browse files
committed
updated comment about "token"
1 parent 1fd26b9 commit cdca0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/hetznercluster_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,8 @@ func reconcileOneWorkloadClusterSecret(ctx context.Context, clusterScope *scope.
568568

569569
wlSecret.Data[clusterScope.HetznerCluster.Spec.HetznerSecret.Key.HCloudToken] = hcloudToken
570570

571-
// upstream hcloud-ccm uses the secret key "token", while the old Syself ccm used "hcloud".
572-
// For compatibility, we create always the other key, too.
571+
// upstream hcloud-ccm uses by default the secret key "token", while the old Syself ccm used
572+
// "hcloud". For compatibility, we create always the other key, too.
573573
for _, key := range []string{"token", "hcloud"} {
574574
wlSecret.Data[key] = hcloudToken
575575
}

0 commit comments

Comments
 (0)