You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support the upgrade flag --reset-then-reuse-values added in Helm v3.14.0 (#634)
* Allow fetching only user-supplied existing values
* Add support for the --reset-then-reuse-values flag
This flag was added in Helm v3.14.0; for details see
helm/helm#9653.
* Document --reset-then-reuse-values in the README
* Add a comment referencing the new flag's origin
* Move min Helm version check to narrower scope
* Fix unintended name shadowing
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ Flags:
103
103
--repo string specify the chart repository url to locate the requested chart
104
104
--reset-values reset the values to the ones built into the chart and merge in any new values
105
105
--reuse-values reuse the last release's values and merge in any new values. If '--reset-values' is specified, this is ignored
106
+
--reset-then-reuse-values reset the values to the ones built into the chart, apply the last release's values and merge in any new values. If '--reset-values' or '--reuse-values' is specified, this is ignored
106
107
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
107
108
--set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
108
109
--set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
@@ -198,6 +199,7 @@ Flags:
198
199
--repo string specify the chart repository url to locate the requested chart
199
200
--reset-values reset the values to the ones built into the chart and merge in any new values
200
201
--reuse-values reuse the last release's values and merge in any new values. If '--reset-values' is specified, this is ignored
202
+
--reset-then-reuse-values reset the values to the ones built into the chart, apply the last release's values and merge in any new values. If '--reset-values' or '--reuse-values' is specified, this is ignored
201
203
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
202
204
--set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
203
205
--set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
f.StringArrayVar(&diff.fileValues, "set-file", []string{}, "set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)")
243
244
f.BoolVar(&diff.reuseValues, "reuse-values", false, "reuse the last release's values and merge in any new values. If '--reset-values' is specified, this is ignored")
244
245
f.BoolVar(&diff.resetValues, "reset-values", false, "reset the values to the ones built into the chart and merge in any new values")
246
+
f.BoolVar(&diff.resetThenReuseValues, "reset-then-reuse-values", false, "reset the values to the ones built into the chart, apply the last release's values and merge in any new values. If '--reset-values' or '--reuse-values' is specified, this is ignored")
245
247
f.BoolVar(&diff.allowUnreleased, "allow-unreleased", false, "enables diffing of releases that are not yet deployed via Helm")
246
248
f.BoolVar(&diff.install, "install", false, "enables diffing of releases that are not yet deployed via Helm (equivalent to --allow-unreleased, added to match \"helm upgrade --install\" command")
247
249
f.BoolVar(&diff.noHooks, "no-hooks", false, "disable diffing of hooks")
0 commit comments