mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
fix: history-max does not work when exec helm upgrade (#507)
Signed-off-by: iiiceoo <iiiceoo@foxmail.com>
This commit is contained in:
@@ -330,6 +330,7 @@ func (r *Release) Upgrade(repoChart string, version string, justTemplate bool, v
|
||||
}
|
||||
|
||||
cmd := action.NewUpgrade(hc)
|
||||
cmd.MaxHistory = r.Settings.MaxHistory
|
||||
|
||||
cmd.Namespace = r.Settings.Namespace()
|
||||
cmd.Version = version
|
||||
|
||||
Reference in New Issue
Block a user