-
Notifications
You must be signed in to change notification settings - Fork 167
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
NetworkPolicy pruning is deleting also Tenant ones #24
Comments
The issue is here and we need to provide a requirement with a sort of and operator:
|
@prometherion Good catch! Is this applicable to all other user defined resources in the tenant (eg. quota, limits, roles, ...)? |
It is appliable only to |
@prometherion in some cases (that we just do not imagine now), the Tenant owner can create additional |
It makes sens: we're going to address this issue once #4 is closed. |
Bug description
If the Tenant owner is going to deploy manually some NetworkPolicy resources on their namespaces and a reconciliation occurs, these are going to be deleted.
How to reproduce
Given the following
np.yaml
:kubectl apply -f np.yaml
kubectl get networkpolicies.networking.k8s.io -w
and notice how it's deletedExpected behavior
User NetworkPolicy resource should not be deleted.
Logs
Irrelevant.
Additional context
0.0.1
The text was updated successfully, but these errors were encountered: