mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
feat: Set history-max through env HELM_MAX_HISTORY (default 10) (#500)
Signed-off-by: iiiceoo <iiiceoo@foxmail.com>
This commit is contained in:
@@ -199,6 +199,7 @@ func NewHelmConfig(origSettings *cli.EnvSettings, ns string) (*action.Configurat
|
|||||||
helmDriver, log.Debugf); err != nil {
|
helmDriver, log.Debugf); err != nil {
|
||||||
return nil, errorx.Decorate(err, "failed to init Helm action config")
|
return nil, errorx.Decorate(err, "failed to init Helm action config")
|
||||||
}
|
}
|
||||||
|
actionConfig.Releases.MaxHistory = origSettings.MaxHistory
|
||||||
|
|
||||||
return actionConfig, nil
|
return actionConfig, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user