Skip to content

Reject policies with FromRequires or ToRequires set #43088

@squeed

Description

@squeed

#42615 removed support for FromRequires and ToRequires. Removing fields from a CRD is a delicate matter; fortunately, we do not set PreserveUnknownFields, but it plays badly with upgrades and downgrades.

Rather than removing the field completely, we should set it to have type []interface, with a Deprecated tag and the kubebuilder validation //+kubebuilder:validation:MaxItems=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-blocker/1.19This issue will prevent the release of the next version of Cilium.sig/policyImpacts whether traffic is allowed or denied based on user-defined policies.

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions