otomi-core
otomi-core copied to clipboard
feat: whitelist all ingress traffic if team network policies are disa…
Teams may or may not enabled network polices (teams.<name>.networkPolicy.ingressPrivate: true|false
)
Teams can also deploy workloads with arbitrary network policies.
If a team sets networkPolicy.ingressPrivate: false
AND deploys a workload, which defines custom network policy, then it will disrupt network connectivity of other workloads and services in that team.
This PR aims to mitigate that issue by allowing all traffic if netpols are disabled.