func (c ChartConfig) WriteValueFile(file string) error {
	// Marshall the values into a string
	y, err := yaml.Marshal(c.Values)
	if err != nil {
		return err
	}
	return ioutil.WriteFile(file, y, 0644)
}
// WriteValueFile writes the given file containing the Chart's Values
WriteValueFile writes the given file containing the Chart's Values
// WriteValueFile writes the given file containing the Chart ' s Values
func (c ChartConfig) WriteValueFile(file string) error {
	y, err := yaml.Marshal(c.Values)
	if err != nil {
		return err
	}
	return ioutil.WriteFile(file, y, 0644)
}
func ( c ChartConfig ) WriteValueFile ( file string ) error { y , err := yaml . Marshal ( c . Values ) if err != nil { return err } return ioutil . WriteFile ( file , y , 0644 ) }
WriteValueFile writes the given file containing the Chart's Values
WriteValueFile writes the given file containing the Chart ' s Values
// Marshall the values into a string