Skip to content

K8s: Add way of reporting errors when importing policy #2095

@ianvernon

Description

@ianvernon

Currently, we have no way of notifying users that import Kubernetes NetworkPolicy objects that the policies were unable to be imported by Cilium. For example, when a user imports a NetworkPolicy object with EgressRules that are label-based, which Cilium currently cannot do at this time, no error is returned to the user. Figure out a way of notifying the user about malformed / disallowed policies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/k8sImpacts the kubernetes API, or kubernetes -> cilium internals translation layers.kind/enhancementThis would improve or streamline existing functionality.staleThe stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions