We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently ScaledJob CRD can be applied only using kubectl apply --server-side ... because it is too long to process. In some cases using server-side apply is not feasible. Instead it should be possible to generate CRD's without description by using maxDescLen=0 option in https://github.com/kedacore/keda/blob/main/Makefile#L134.
kubectl apply --server-side ...
maxDescLen=0
I did some testing for crd-scaledjobs.yaml:
crd-scaledjobs.yaml:
# With description $ wc -c crd-scaledjobs.yaml 581688 # Description fields replaced with empty string $ yq eval -i '(.. | select(has("description"))).description = ""' crd-scaledjobs.yaml $ wc -c crd-scaledjobs.yaml 259711
Now it would not be mandatory to use server-side apply as the maximum size for metadata.annotations is 262144 bytes.
metadata.annotations
So I was wondering would it be possible to generate the CRD's without description also and e.g. add section to values.yaml to choose which one to use?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Proposal
Currently ScaledJob CRD can be applied only using
kubectl apply --server-side ...
because it is too long to process. In some cases using server-side apply is not feasible. Instead it should be possible to generate CRD's without description by usingmaxDescLen=0
option in https://github.com/kedacore/keda/blob/main/Makefile#L134.I did some testing for
crd-scaledjobs.yaml:
Now it would not be mandatory to use server-side apply as the maximum size for
metadata.annotations
is 262144 bytes.So I was wondering would it be possible to generate the CRD's without description also and e.g. add section to values.yaml to choose which one to use?
The text was updated successfully, but these errors were encountered: