Can I have multiple values.yaml files for Helm

后端 未结 3 1768
夕颜
夕颜 2021-01-31 08:03

Can I have multiple values.yaml files in a Helm chart?

Something like mychart/templates/internalValues.yaml, mychart/templates/customSett

3条回答
  •  既然无缘
    2021-01-31 09:03

    Just to update : As per the current official documentation --set & --values will not be merged

    To override values in a chart, use either the '--values' flag and pass in a file or use the '--set' flag and pass configuration from the command line, to force a string value use '--set-string'. In case a value is large and therefore you want not to use neither '--values' nor '--set', use '--set-file' to read the single large value from file.

    Also :

    You can specify the '--values'/'-f' flag multiple times. The priority will be given to the last (right-most) file specified.

提交回复
热议问题