Report this

What is the reason for this report?

Unable to install istio with helm 3.7 on my digitalocean kubernetes cluster

Posted on November 12, 2021

This is the error i am getting:

$ helm install istio --namespace istio-system --set grafana.enabled=true istio.io/istio

Error: INSTALLATION FAILED: template: istio/charts/gateways/templates/rolebindings.yaml:4:7: executing “istio/charts/gateways/templates/rolebindings.yaml” at <($spec.sds) and (eq $spec.sds.enabled true)>: can’t give argument to non-function $spec.sds



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there! 👋

The error seems to be due to a problem with how the Helm chart is being rendered and specifically, the $spec.sds variable is being treated as a function instead of a value.

This can occur if there’s a mismatch between the version of the Istio Helm chart and the Helm client you’re using.

There are a few things you can try to resolve this issue:

  • Check if you’re using a compatible Helm chart version for Istio with Helm 3.7. Run the following to check your Helm version:

    helm version
    
  • Check the chart repository to confirm you’re using a version of Istio that supports your Helm version:

    helm repo add istio https://istio-release.storage.googleapis.com/charts
    helm repo update
    

    Then list available chart versions:

    helm search repo istio
    
  • If you’re using an older chart version, try installing the latest supported Istio chart:

    helm install istio --namespace istio-system --set grafana.enabled=true istio/istio
    

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.