Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip config if policy not applied yet
There is a stage when the SriovNetworkNodeState is initializing where the spec is empty because the SriovNetworkNodePolicyReconciler did not yet applied the policies. It can cause a non required action by the plugins, that will try to apply the empty spec by resetting the NIC for example. The config daemon will not run the plugins if the generation is 1 and the Spec.Interfaces is empty. Solves issue #283 For e2e tests, the wait timeout to get to initial Sync state has been increased. This change is needed as now the config daemon will not apply on "empty" spec until the SriovNetworkNodePolicyReconciler will iterate on the Interfaces. The reconcile loop interval is 5 minutes, so the test timeout needed to be increased. Signed-off-by: Fred Rolland <[email protected]>
- Loading branch information