Skip to content

Commit

Permalink
update clusteripprefixset so that BGP export policies allow advertisi…
Browse files Browse the repository at this point in the history
…ng the service VIP (cloudnativelabs#435)
  • Loading branch information
murali-reddy authored May 13, 2018
1 parent 725bff6 commit b0733cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/controllers/routing/ecmp_vip.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ func (nrc *NetworkRoutingController) OnServiceUpdate(obj interface{}) {
return
}

err = nrc.addExportPolicies()
if err != nil {
glog.Errorf("Error adding BGP export policies: %s", err.Error())
}

if len(toAdvertise) > 0 {
nrc.advertiseVIPs(toAdvertise)
}
Expand Down

0 comments on commit b0733cb

Please sign in to comment.