iluv_dev
iluv_dev

Reputation: 155

helm CLI incorrectly splits on commas

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

Answers (1)

quoc9x
quoc9x

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:
enter image description here https://helm.sh/docs/intro/using_helm/
https://github.com/helm/helm/issues/1556

Upvotes: 5

Related Questions