How to pass custom yaml file to helm without mentioning its name

5/30/2019

I am new to helm chart. As part of the requirement I named my values.yaml to customize.yaml
To tell helm engine that I am using custom yaml file, I used the below command.
helm install mychart -f customize.yaml
but now the question is how should I not pass the name of the yaml (customize.yaml) file as part of the command, so the command should be like this
helm install mychart
and helm should know that it will get the values from customize.yaml without explicitly mentioning it in the command. Is there a way to do this?

I tried to include it in _helpers.tpl but it didn't work

-- Aman
helmfile
kubernetes
kubernetes-helm

1 Answer

5/30/2019
// ValuesfileName is the default values file name.
ValuesfileName = "values.yaml"

values.yaml have been defined as the default file in helm's source code. So, in your case, you may have to build helm from source with your changes.

-- hariK
Source: StackOverflow