|
|
@ -35,8 +35,6 @@ import (
|
|
|
|
// - A chart has access to all of the variables for it, as well as all of
|
|
|
|
// - A chart has access to all of the variables for it, as well as all of
|
|
|
|
// the values destined for its dependencies.
|
|
|
|
// the values destined for its dependencies.
|
|
|
|
func CoalesceValues(chrt *chart.Chart, vals map[string]interface{}) (Values, error) {
|
|
|
|
func CoalesceValues(chrt *chart.Chart, vals map[string]interface{}) (Values, error) {
|
|
|
|
// create a copy of vals and then pass it to coalesce
|
|
|
|
|
|
|
|
// and coalesceDeps, as both will mutate the passed values
|
|
|
|
|
|
|
|
v, err := copystructure.Copy(vals)
|
|
|
|
v, err := copystructure.Copy(vals)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return vals, err
|
|
|
|
return vals, err
|
|
|
|