|
|
@ -25,7 +25,7 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// ProcessDependencies checks through this chart's dependencies, processing accordingly.
|
|
|
|
// ProcessDependencies checks through this chart's dependencies, processing accordingly.
|
|
|
|
func ProcessDependencies(c *chart.Chart, vals map[string]interface{}) error {
|
|
|
|
func ProcessDependenciesWithValues(c *chart.Chart, vals map[string]interface{}) error {
|
|
|
|
v, err := copystructure.Copy(vals)
|
|
|
|
v, err := copystructure.Copy(vals)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
@ -39,6 +39,16 @@ func ProcessDependencies(c *chart.Chart, vals map[string]interface{}) error {
|
|
|
|
return process(c, valsCopy)
|
|
|
|
return process(c, valsCopy)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ProcessDependencies checks through this chart's dependencies, processing accordingly.
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// Deprecated: ProcessDependencies. Use ProcessDependenciesWithValues
|
|
|
|
|
|
|
|
func ProcessDependencies(c *chart.Chart, v Values) error {
|
|
|
|
|
|
|
|
if err := processDependencyEnabled(c, v, ""); err != nil {
|
|
|
|
|
|
|
|
return err
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return processDependencyImportValues(c, v)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// process processes the dependencies
|
|
|
|
// process processes the dependencies
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// This is a helper function for ProcessDependencies.
|
|
|
|
// This is a helper function for ProcessDependencies.
|
|
|
|