mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
fix: ignore the case when comparing azure tags in service annotation
This commit is contained in:
parent
9dba11d971
commit
692372e288
@ -2137,9 +2137,8 @@ func (az *Cloud) ensurePIPTagged(service *v1.Service, pip *network.PublicIPAddre
|
||||
if _, ok := service.Annotations[ServiceAnnotationAzurePIPTags]; ok {
|
||||
annotationTags = parseTags(service.Annotations[ServiceAnnotationAzurePIPTags])
|
||||
}
|
||||
for k, v := range annotationTags {
|
||||
configTags[k] = v
|
||||
}
|
||||
configTags, _ = reconcileTags(configTags, annotationTags)
|
||||
|
||||
// include the cluster name and service names tags when comparing
|
||||
var clusterName, serviceNames *string
|
||||
if v, ok := pip.Tags[clusterNameKey]; ok {
|
||||
|
Loading…
Reference in New Issue
Block a user