fix the error caused by helm lint not pulling values outside of the default values file for

schema validation

Signed-off-by: Dong Gang <dong.gang@daocloud.io>
pull/8892/head
Dong Gang 5 years ago
parent 8667aa4f98
commit a8d12a744f

@ -71,7 +71,7 @@ func validateValuesFile(valuesPath string, overrides map[string]interface{}) err
// We could change that. For now, though, we retain that strategy, and thus can
// coalesce tables (like reuse-values does) instead of doing the full chart
// CoalesceValues.
values = chartutil.CoalesceTables(values, overrides)
values = chartutil.CoalesceTables(overrides, values)
ext := filepath.Ext(valuesPath)
schemaPath := valuesPath[:len(valuesPath)-len(ext)] + ".schema.json"

Loading…
Cancel
Save