You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get an error
Error: UPGRADE FAILED: template: log-router/templates/secret.yaml:21:34: executing "log-router/templates/secret.yaml" at : wrong type for value; expected string; got int64
Expected behavior
helm runs without an error
Additional context
I suggest modifying the secret.yaml template, by adding a "| toString" in lines 21 and 23:
Describe the bug
If I set a value like fluentd.extraEnv.elk_port to the port number, then I get an error about the wrong type for the value
Reproduction steps
ELK_PORT=9200
CHART_URL='https://github.com/vmware/kube-fluentd-operator/releases/download/v1.16.8/log-router-0.4.0.tgz'
helm upgrade -i kfo ${CHART_URL} --set fluentd.extraEnv.elk_port="$ELK_PORT" --set reloader.extraEnv.elk_port="$ELK_PORT"
Error: UPGRADE FAILED: template: log-router/templates/secret.yaml:21:34: executing "log-router/templates/secret.yaml" at : wrong type for value; expected string; got int64
Expected behavior
helm runs without an error
Additional context
I suggest modifying the secret.yaml template, by adding a "| toString" in lines 21 and 23:
fluentd.{{ $key }}: {{ $value | toString | b64enc | quote }}
reloader.{{ $key }}: {{ $value | toString | b64enc | quote }}
The text was updated successfully, but these errors were encountered: