Skip to content

CiliumNetworkPolicy is not accepted as NetworkPolicy #644

@Pionerd

Description

@Pionerd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions