tilt-extensions
tilt-extensions copied to clipboard
helm_resource should allow an array of values for set
Many helm_remote and helm calls rely on arrays of set values. If helm_resource could accept that same array it would simplify interopability
From the README:
flags: Additional flags to pass to helm install (e.g., ['--set', 'key=value'])
is that what you're looking for?
With helm_remote I can do set=helm_values
where helm_values
is
[
'image.tag=%s' % foo,
'environment.name=development',
'foo.bar=baz'
]
I would similarly like to be able to pass set values as an array, as opposed to composing the --set a=b
args myself. It would just make adoption much simpler since the "array of set strings" pattern is so widely used already
i guess we'd accept a PR to translate helm_resource(set=...)
to the appropriate flags.
i'm usually a bit skeptical of having two ways to do the same thing, but ya, this would make adoption from helm()
easier.
helm_remote also allows a value.yaml file. Is this then also possible with helm_resource?
@ManAnRuck
helm_resource(..., flags=['--values=./path/to/values.yaml'])