Add `values.yaml` to chart tempaltes
This change adds add-on level values.yaml into the template to use for
rendering. No changes as of rn, but will be used by add-ons later on!
@@ -865,9 +865,14 @@ func render(w io.Writer, values *l5dcharts.Values) error {
Dir: addOnChartsPath + "/" + addOn.Name(),
Namespace: controlPlaneNamespace,
RawValues: append(addOn.Values(), rawValues...),
- Files: []*chartutil.BufferedFile{&chartutil.BufferedFile{
+ Files: []*chartutil.BufferedFile{
+ {
Name: chartutil.ChartfileName,
- }},
+ },
+ {
+ Name: chartutil.ValuesfileName,
+ },
+ },
}
}
