IBM Cloud Docs
Why can't I install a Helm chart with updated configuration values?

Why can't I install a Helm chart with updated configuration values?

Virtual Private Cloud Classic infrastructure

When you try to install an updated Helm chart by running helm install <release_name> <helm_repo>/<chart_name> -f config.yaml, you get the following error message.

Error: failed to download "<helm_repo>/<chart_name>"

You might need to update your Helm installation because of the following reasons:

  • The URL to the IBM Cloud Helm repository that is configured on your local machine might be incorrect.
  • The name of your local Helm repository might not match the Helm repository name or URL of the installation command that you copied from the Helm chart instructions.
  • The Helm chart that you want to install does not support the version of Helm that you installed on your local machine.
  • Your cluster network setup changed from public access to private-only access, but Helm was not updated.

To troubleshoot your Helm chart:

  1. List the IBM Cloud Helm repositories currently available in your Helm instance.
    helm repo list
    
  2. Remove the IBM Cloud Helm repositories.
    helm repo remove <helm_repo>
    
  3. Reinstall the Helm version that matches a supported version of the Helm chart that you want to install. As part of the installation, add and update the IBM Cloud Helm repositories. For more information, see Installing Helm v3 in your cluster.

Now, you can follow the instructions in the Helm chart README to install the Helm chart in your cluster.