Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(NPC): remove HostNetwork check from OnPodUpdate
With the previous logic, if a pod changed from having HostNetwork = False to HostNetwork = True, NPC would not trigger a refresh to clear out the rules that once applied. Now this check has been moved lower in the fullPolicySync() logic so that it accounts for these pods naturally.
- Loading branch information