Make sure generated Gateway-API object fields obey kubebuilder max item validation #124
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
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.
The text was updated successfully, but these errors were encountered: