8000 Make sure generated Gateway-API object fields obey kubebuilder max item validation · Issue #124 · kubernetes-sigs/ingress2gateway · GitHub
[go: up one dir, main page]

Skip to content

Make sure generated Gateway-API object fields obey kubebuilder max item validation #124

@levikobi

Description

@levikobi

What would you like to be added:
Add a mechanism that considers the kube-builder max item validation on Gateway-API list fields. See this for example.

One option is to validate the constraint, and if it is exceeded - throw an appropriate message.
Another option is to add conversion logic that splits objects by these constraints, which will be more challenging.

Why this is needed:
To help migrating users who violate those constraints. See kubernetes-sigs/gateway-api#2501 as an example.

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0