Istio Tolerations arguments (helm template)


I’m using helm template for generating a customise Istio installation by passing a series of parameter
like this:

helm template istio-1.1.0/install/kubernetes/helm/istio --name istio --namespace istio-system
--set gateways.enabled=true \
--set gateways.istio-ingressgateway.externalTrafficPolicy=Local \
--set sidecarInjectorWebhook.enabled=true \
etc ...

Now i would like to configure toleration, I use this line from the istio docs:

--set global.defaultTolerations=

How can i pass or format the Tolerations below as an argument ?

 - key : dedicated
   operator: Equal
   value: istio
   effect: NoSchedule

(which by the way accept a list of tolerations).

Thanks for the help

Hi, although it’s possible to do this with --set and a bunch of shell escapes, your config is complex enough that I highly recommend creating a custom values.yaml with the above settings and passing that to helm instead.