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:
Kubernetes Prow Robot 2021-09-02 23:05:49 -07:00 committed by GitHub
commit 8d43aa6cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {