mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 05:02:24 +02:00
fix: update state values files handling to replace arrays instead of merging (#2537)
* feat: update state values handling to replace arrays instead of merging Signed-off-by: Vojta Polak <vojta.polak@gmail.com> * test: non-shallow copy of OverrideCLISetValues in DeepCopy + test Signed-off-by: Vojta Polak <vojta.polak@gmail.com> * fix: update error message for empty CalleePath in Load function Signed-off-by: Vojta Polak <vojta.polak@gmail.com> --------- Signed-off-by: Vojta Polak <vojta.polak@gmail.com>
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ type SubHelmfileSpec struct {
|
||||
// SubhelmfileEnvironmentSpec is the environment spec for a subhelmfile
|
||||
type SubhelmfileEnvironmentSpec struct {
|
||||
OverrideValues []any `yaml:"values,omitempty"`
|
||||
OverrideValuesAreCLI bool `yaml:"-"`
|
||||
OverrideCLISetValues []any `yaml:"-"` // CLI --state-values-set values only, merged element-by-element
|
||||
}
|
||||
|
||||
// HelmSpec to defines helmDefault values
|
||||
|
||||
Reference in New Issue
Block a user