Allow users to specify non-default values for Helm charts #48
Labels
enhancement
New feature or request
needs design
Indicates that the proposed enhancement needs more thought on design
Projects
Currently, Helm charts are rendered using the
values.yaml
file next toChart.yaml
. We need to support a way for users to test with other values. More generally, we want people to be able to specify a bunch of different combinations of values thatkube-linter
checks their configurations against.There are two ways we can do this, which are not mutually exclusive:
-f
and--set
flags. However, this only makes sense if you lint one chart, so will require a separatelint-helm
command or similar, which strictly takes the path to a Helm chart. In this case, the user will be responsible for callingkube-linter lint-helm
multiple times, for each set of-f
and--set
arguments they want to lint against..kubelinterrc
directory in every Helm chart directory, where users specify this. We need to be careful about how we design this, because we want to ensure that:helm install
supports multiple-f
arguments, users should be able to specify multiplevalues.yaml
files, and the order in which they are applied, for each render. Importantly, if one of these is thevalues.yaml
file in the Chart's root directory, it should be possible for the user to specify that without having to duplicate its contents.Finally, we should ensure that if values are specified like this, we render the chart in strict code, and actually fail if required values are not specified.
The text was updated successfully, but these errors were encountered: