mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-19 03:51:37 +01:00
Check if the Pod is actionable before taking NetworkPolicy actions which includes both adding KUBE-POD-FW and KUBE-NWPLCY chains for it. Checks have now been consolidated to a single isNetPolActionable() function which checks for pod phases that we don't want NetworkPolicy for like: Failed, Completed, and Succeeded, missing pod IP addresses, and pods with HostNetwork enabled. fixes #1056