-
Notifications
You must be signed in to change notification settings - Fork 382
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
✨ WIP: add network policy blocking cross-tenant pod traffic #2876
Conversation
Skipping CI for Draft Pull Request. |
@lionelvillard Should I wait for e2e tests to be fixed before reviewing ? |
@davidfestal If you want you can start looking at the network policy template while I'm fixing the e2e tests. |
5115fdc
to
ffff281
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
66a162b
to
b1fa456
Compare
@lionelvillard: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/close |
@mjudeikis: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Summary
Create a network policy per namespace to prevent traffic between pods belonging to different tenant.
See https://github.com/kcp-dev/kcp/blob/3a5f114b6de2a033dcafe8d7d282d456ce5a70ea/pkg/syncer/spec/networkpolicy_tenant.yaml for more details.
Related issue(s)
Fixes kcp-dev/contrib-tmc#113