Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8s/watchers: fix missing missing CNP/CCNP updates
Since we were only comparing the spec of a CNP / CCNP, whenever the cilium-agent received a CNP or CCNP containing a 'specs', any following updates to that policy wouldn't be enforced in Cilium since the network policy would be considered equal as the one already being enforced. As Cilium is already comparing the network policies, before processing any policy update, we can remove this Spec.Equals. Fixes: 2d34336 ("use deepequal generated code") Signed-off-by: André Martins <andre@cilium.io>
- Loading branch information