mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-14 00:06:28 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update function hasClusterTag to fix issue #64230 **What this PR does / why we need it**: Fixes issue #64230, by changing function hasClusterTag, in aws/tags.go, to ensure that, when called with a list of tags containing a tag with a key which matches clusterTagKey, function will return true even if a tag with key TagNameKubernetesClusterLegacy also exists in the list with a value other than the ClusterID. **Which issue(s) this PR fixes**: Fixes #64230 **Special notes for your reviewer**: Notes are in issue **Release note**: ```release-note NONE ```