kubepack / preset

Apache License 2.0
1 stars 0 forks source link

Helm CoalesceValues #1

Open tamalsaha opened 2 years ago

tamalsaha commented 2 years ago

https://github.com/helm/helm/blob/v3.7.2/pkg/chartutil/coalesce.go#L28-L37

// CoalesceValues coalesces all of the values in a chart (and its subcharts).
//
// Values are coalesced together using the following rules:
//
//  - Values in a higher level chart always override values in a lower-level
//      dependency chart
//  - Scalar values and arrays are replaced, maps are merged
//  - A chart has access to all of the variables for it, as well as all of
//      the values destined for its dependencies.
tamalsaha commented 2 years ago
// +listType=atomic
// +mapType=granular
// +structType=granular