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
The arg string is unquoted, so the ":" ends up turning the string into a map after templating.
Changing the line to {{- printf "- \"--extra-tags=%s\"" (join "," $result.pairs) -}} fixed the problem in my experiments.
I'm planning on making a PR with the fix, but I wanted to open this to feedback first.
/kind bug
What happened?
Trying to build the Chart with the following values file with this values file:
Presents the following error:
What you expected to happen?
I expect the chart to build, and for the controller to be configured with the extra volume tags.
How to reproduce it (as minimally and precisely as possible)?
Add any extra tags which are set with a value containing ":"
Anything else we need to know?:
It seems like the problem is in the processing of extraVolumeTags here:
aws-ebs-csi-driver/charts/aws-ebs-csi-driver/templates/_helpers.tpl
Line 71 in de1c656
The arg string is unquoted, so the ":" ends up turning the string into a map after templating.
Changing the line to
{{- printf "- \"--extra-tags=%s\"" (join "," $result.pairs) -}}
fixed the problem in my experiments.I'm planning on making a PR with the fix, but I wanted to open this to feedback first.
Environment
kubectl version
):Server Version: version.Info{Major:"1", Minor:"23+", GitVersion:"v1.23.3-2+d441060727c463", GitCommit:"d441060727c4632b67d09c9118a36a8590308676", GitTreeState:"clean", BuildDate:"2022-01-26T21:57:05Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: