Skip to content

Commit b0733cb

Browse files
authored
update clusteripprefixset so that BGP export policies allow advertising the service VIP (#435)
1 parent 725bff6 commit b0733cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/controllers/routing/ecmp_vip.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ func (nrc *NetworkRoutingController) OnServiceUpdate(obj interface{}) {
9393
return
9494
}
9595

96+
err = nrc.addExportPolicies()
97+
if err != nil {
98+
glog.Errorf("Error adding BGP export policies: %s", err.Error())
99+
}
100+
96101
if len(toAdvertise) > 0 {
97102
nrc.advertiseVIPs(toAdvertise)
98103
}

0 commit comments

Comments
 (0)