Open kferrone opened 3 years ago
The pullAndLoadChart
function is hard-coding a naming convention which at least one helm chart is not honoring. See https://github.com/crossplane-contrib/provider-helm/blob/003a0212edf080293e1d8d2f17cd3a33a42e2a73/pkg/clients/helm/client.go#L199
We could update pullChart
to either rewrite chart names to the expected format or return the actual chartname and use that throughout the rest of the provider.
Any chance for this to be fixed? Currently the only way to keep that consistent in composition is to patch manually the url and pray that strimzi (or any other chart provider) won't change naming schema. Couldn't we just use the correct url and add optional flag to switch between those two approaches?
What happened?
I attempted to install the strimzi operator using the Helm Release from Crossplane. I get the following error when crossplane attempts to install the chart:
Aaron Eaton helped me on Slack find the real problem. He discovered the strimzi chart;
strimzi-kafka-operator-helm-3-chart-0.25.0.tgz
strimzi-kafka-operator-0.25.0.tgz
He also discovered a workaround where you can set the
spec.forProvider.chart.url
directly to the source, I have this commented out in the snippet below.How can we reproduce it?
What environment did it happen in?
Crossplane version: 1.3.0 Helm Provider version: v0.9.0-rc