Replies: 1 comment
-
To all of you who ends up here: targetPath is the equivalent of command line i.e. ConfigMap value syntax to set an array is: valuesFrom syntax to consume the value:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use the values override feature of the helm-controller (https://fluxcd.io/flux/components/helm/helmreleases/#values-overrides) and set an array/list in the helm values of my helm release. But I am not clear about the syntax to use.
In the helmrelease I have this reference to a configmap:
The configmap is defined like this:
Using
helm -n default my-release get values
I see that the values are updated, but are a string instead of a list.As I would like to iterate over the list/array with
range
in the helm chart implementation, is there any way to make the configmap entries available as list directly? Or would I need to usefromYaml
(from https://helm.sh/docs/chart_template_guide/function_list/#type-conversion-functions) in the helm chart to convert the string to a list first?Beta Was this translation helpful? Give feedback.
All reactions