Open
Description
Describe the bug
The NginxProxy got more complex when support for HPA was added by community member. CRD annotations generate led to the error when being applied.
k apply -f config/crd/bases
The CustomResourceDefinition "nginxproxies.gateway.nginx.org" is invalid: metadata.annotations: Too long: may not be more than 262144 bytes
This issue does not occur when we do a kubectl create
To Reproduce
Steps to reproduce the behavior:
- Checkout the pull request
- remove
:maxDescLen=0
fromgenerate-crds
make command - run
make generate-all
- Now, try to create the crds using
k create -f config/crd/bases
- try to apply it next
k apply -f config/crd/bases
Expected behavior
k apply -f config/crd/bases
should apply all CRDs without any error message
Your environment
- Version of the NGINX Gateway Fabric - release version or a specific commit. The first line of the nginx-gateway container logs includes the commit info. - v2.0.1
- Version of Kubernetes - 1.25
Additional context
Add any other context about the problem here. Any log files you want to share.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New