mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #101752 from nilo19/fix/tag-static-ip
fix: not tagging static public IP
This commit is contained in:
commit
937a3db3a2
@ -2238,9 +2238,11 @@ func (az *Cloud) reconcilePublicIP(clusterName string, service *v1.Service, lbNa
|
|||||||
}
|
}
|
||||||
dirtyPIP = true
|
dirtyPIP = true
|
||||||
}
|
}
|
||||||
changed := az.ensurePIPTagged(service, &pip)
|
if !isUserAssignedPIP {
|
||||||
if changed {
|
changed := az.ensurePIPTagged(service, &pip)
|
||||||
dirtyPIP = true
|
if changed {
|
||||||
|
dirtyPIP = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if shouldReleaseExistingOwnedPublicIP(&pip, wantLb, isInternal, isUserAssignedPIP, desiredPipName, serviceIPTagRequest) {
|
if shouldReleaseExistingOwnedPublicIP(&pip, wantLb, isInternal, isUserAssignedPIP, desiredPipName, serviceIPTagRequest) {
|
||||||
// Then, release the public ip
|
// Then, release the public ip
|
||||||
|
Loading…
Reference in New Issue
Block a user