Skip to content

Commit

Permalink
Add logic to SriovNetworkNodePolicy controller to populate bridge config
Browse files Browse the repository at this point in the history
Signed-off-by: Yury Kulazhenkov <[email protected]>
  • Loading branch information
ykulazhenkov committed Apr 30, 2024
1 parent 2491bb4 commit 4b1cfdb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions controllers/sriovnetworknodepolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@ func (r *SriovNetworkNodePolicyReconciler) syncSriovNetworkNodeState(ctx context
if err != nil {
return err
}
if r.FeatureGate.IsEnabled(constants.ManageSoftwareBridgesFeatureGate) {
err = p.ApplyBridgeConfig(newVersion)
if err != nil {
return err
}
}
// record the evaluated policy priority for next loop
ppp = p.Spec.Priority
}
Expand Down

0 comments on commit 4b1cfdb

Please sign in to comment.