Skip to content

Commit

Permalink
Bugfix http forwarding rule create workflow
Browse files Browse the repository at this point in the history
Forwarding rule address needs to be reused when
an ingress controller managed static IP address
exists for the ingress.
  • Loading branch information
skmatti committed Aug 25, 2020
1 parent 7b0301a commit 284d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/loadbalancers/forwarding_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (l *L7) checkForwardingRule(protocol namer.NamerProtocol, name, proxyLink,
currentIP, _ := l.cloud.GetGlobalAddress(managedStaticIPName)
if currentIP != nil {
klog.V(3).Infof("Ingress managed static IP %s(%s) exists, using it to create forwarding rule %s", currentIPName, currentIP.Address, name)
ip = currentIP.Address
fr.IPAddress = currentIP.Address
}
}
}
Expand Down

0 comments on commit 284d027

Please sign in to comment.