Keda: Error deploying keda via Helm

Created on 30 Sep 2019  路  6Comments  路  Source: kedacore/keda

If you run the standard deployment via Helm

helm install kedacore/keda-edge --devel --set logLevel=debug --namespace keda --name keda

you get the following error

Error: unable to convert to CRD type: unable to convert unstructured object to apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition: cannot convert int64 to float64
bug

Most helpful comment

This issue was introduced in helm 2.14: https://github.com/helm/helm/issues/5806

All 6 comments

Thanks for reporting @scotty-c!

Would it be possible to get a full error log or some more info please?

@ahmelsayed Would it be possible that this is due to our recent validation/spec changes?
Happy to take a look, but will only be next week I'm afraid.

@tomkerkhove That is the only logs I have at the moment, keda wont install on the cluster. You can reproduce the error by just installing the chart with helm install kedacore/keda-edge --devel --set logLevel=debug --namespace keda --name keda

Happy to help out with a PR to fix if you can point me in the right direction

Same here. Recording to this stackoverflow question I downloaded the keda chart and changed "helm.sh/hook": crd-install to "helm.sh/hook": pre-install. After this the installation worked.

Thanks - @ahmelsayed agreed to look into this

This issue was introduced in helm 2.14: https://github.com/helm/helm/issues/5806

Was this page helpful?
0 / 5 - 0 ratings