kubernetes-sigs / kube-network-policies

Kubernetes network policies
Apache License 2.0
34 stars 11 forks source link

networkpolicy: Move subject filtering logic to getNetworkPoliciesForPod. #14

Closed npinaeva closed 5 months ago

npinaeva commented 5 months ago

I removed this log https://github.com/kubernetes-sigs/kube-network-policies/blob/main/pkg/networkpolicy/networkpolicy.go#L85 for symmetry with adminnetworkpolicy code, lmk if I should add it back.

aojea commented 5 months ago

/lgtm /approve

Thanks

k8s-ci-robot commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea, npinaeva

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kube-network-policies/blob/main/OWNERS)~~ [aojea] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment