Replies: 1 comment 1 reply
-
I'm seeing the opposite behaviour: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(I've been using Flux for almost a year now, stumbled upon a chart that introduced this cornercase.)
The problem I need to solve
The chart I want to manage by GitOps requires an attribute of values.yaml to be specified as text literal (I'll show what I mean by that). This data is sensitive, which I would normally merge from a secret or configmap. Let's assume we are using a configmap now.
Merging data with
valuesFrom
Let p.yaml look like this:
And values.yaml like this:
Now I want to merge p (into
q.r
) withvaluesFrom
(HelmRelease CRD), and the merge renders the following values.yaml:However, what I want is merging the data as literal (it's not a yaml). So this would like as follows:
Helm CLI supports doing so with the
--set-file
flag, but the Helm controller doesn't.Potential solution
Adding a new flag to the ValuesReference that indicates merging as literal.
Do you want to support that? If so, then I gladly come up with a solution.
Beta Was this translation helpful? Give feedback.
All reactions