Reputation: 155
When using the helm command and overriding values using --set, if the key value contains a comma, the value is halted there. i want to pass a value with comma.
For example -set connString=service_name:8080,password=xxxxx=,abortConnect=False
and in my helm I'm using this connection string.
connString: ""
Cons__cache: "{{ .Values.connString}}"
But service_name:8080 is stored.
Upvotes: 1
Views: 3010
Reputation: 2181
You can try this:
--set connString='service_name:8080\,password=xxxxx=\,abortConnect=False'
or
--set connString=service_name:8080\,password=xxxxx=\,abortConnect=False
Link references:
https://helm.sh/docs/intro/using_helm/
https://github.com/helm/helm/issues/1556
Upvotes: 5