Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: whitelist all ingress traffic if team network policies are disa… #1540

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

j-zimnowoda
Copy link
Contributor

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.

Copy link
Contributor

@ElderMatt ElderMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only comment contains small mistake, thats it

charts/team-ns/templates/networkpolicy.yaml Outdated Show resolved Hide resolved
@j-zimnowoda j-zimnowoda merged commit 6b4d70d into main Feb 29, 2024
3 checks passed
@j-zimnowoda j-zimnowoda deleted the default-netpol branch February 29, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants