Skip to content

Commit

Permalink
Add support for policy CR with serviceTypeLB
Browse files Browse the repository at this point in the history
  • Loading branch information
arzzon committed Mar 13, 2024
1 parent e83468e commit aa8b16e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/controller/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,16 +412,16 @@ func (ctlr *Controller) processResources() bool {
}
}
if ctlr.managedResources.ManageCustomResources {
virtuals := ctlr.getVirtualsForCustomPolicy(cp)
//Sync Custompolicy for Virtual Servers
for _, virtual := range virtuals {
err := ctlr.processVirtualServers(virtual, false)
if err != nil {
// TODO
utilruntime.HandleError(fmt.Errorf("Sync %v failed with %v", key, err))
isRetryableError = true
}
}
//virtuals := ctlr.getVirtualsForCustomPolicy(cp)
////Sync Custompolicy for Virtual Servers
//for _, virtual := range virtuals {
// err := ctlr.processVirtualServers(virtual, false)
// if err != nil {
// // TODO
// utilruntime.HandleError(fmt.Errorf("Sync %v failed with %v", key, err))
// isRetryableError = true
// }
//}
//Sync Custompolicy for Transport Servers
tsVirtuals := ctlr.getTransportServersForCustomPolicy(cp)
for _, virtual := range tsVirtuals {
Expand Down

0 comments on commit aa8b16e

Please sign in to comment.