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

CiliumNetworkPolicy is not accepted as NetworkPolicy #644

Open
Pionerd opened this issue Jan 22, 2025 · 0 comments
Open

CiliumNetworkPolicy is not accepted as NetworkPolicy #644

Pionerd opened this issue Jan 22, 2025 · 0 comments

Comments

@Pionerd
Copy link

Pionerd commented Jan 22, 2025

It would be nice if we could get support for CNPs as wel as regular NPs. I'm aware regular NPs are a bit easier to match to pods, but maybe someone has a clever idea how to implement this in an efficient way.

Which version of kube-score are you using?

kube-score version: 1.19.0

What did you do?

Scan a pod that is protected by a CiliumNetworkPolicy

What did you expect to see?

No warning.

What did you see instead?

    [CRITICAL] Pod NetworkPolicy
        · The pod does not have a matching NetworkPolicy
            Create a NetworkPolicy that targets this pod to control who/what
            can communicate with this pod. Note, this feature needs to be
            supported by the CNI implementation used in the Kubernetes cluster
            to have an effect.
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

No branches or pull requests

1 participant