Alternative to https://github.com/helm/helm/issues/12466
This allows the above requirement to be implemented in terms of existing
Helm functionality. Instead of built in support for a "bundled value
set", a chart can expose a dependency on a chart which provides some
sets of values. These can be conditionally enabled with `import-values`
and `conditions` on the dependency.
The one gap in this approach is the parent values take precedence. This
allows a user to *opt in* to making children high precedence.
Additionally, a unit test and additional validation for the field is
added.
Note: overall, this is a worse experience than #12466 could provide for
this use case. So I would prefer to still do that if feasible. However,
this is a low-cost approach
Signed-off-by: John Howard <howardjohn@google.com>