mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-04 15:15:36 +00:00
Merge pull request #104705 from nilo19/bug/ensure-pip-tagged
fix: ignore the case when comparing azure tags in service annotation
This commit is contained in:
@@ -2137,9 +2137,8 @@ func (az *Cloud) ensurePIPTagged(service *v1.Service, pip *network.PublicIPAddre
|
|||||||
if _, ok := service.Annotations[ServiceAnnotationAzurePIPTags]; ok {
|
if _, ok := service.Annotations[ServiceAnnotationAzurePIPTags]; ok {
|
||||||
annotationTags = parseTags(service.Annotations[ServiceAnnotationAzurePIPTags])
|
annotationTags = parseTags(service.Annotations[ServiceAnnotationAzurePIPTags])
|
||||||
}
|
}
|
||||||
for k, v := range annotationTags {
|
configTags, _ = reconcileTags(configTags, annotationTags)
|
||||||
configTags[k] = v
|
|
||||||
}
|
|
||||||
// include the cluster name and service names tags when comparing
|
// include the cluster name and service names tags when comparing
|
||||||
var clusterName, serviceNames *string
|
var clusterName, serviceNames *string
|
||||||
if v, ok := pip.Tags[clusterNameKey]; ok {
|
if v, ok := pip.Tags[clusterNameKey]; ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user