Skip to content

Commit

Permalink
feat: Set history-max through env HELM_MAX_HISTORY (default 10) (#500)
Browse files Browse the repository at this point in the history
Signed-off-by: iiiceoo <iiiceoo@foxmail.com>
  • Loading branch information
iiiceoo authored Jan 22, 2024
1 parent 4afb773 commit 9481c9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/dashboard/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func NewHelmConfig(origSettings *cli.EnvSettings, ns string) (*action.Configurat
helmDriver, log.Debugf); err != nil {
return nil, errorx.Decorate(err, "failed to init Helm action config")
}
actionConfig.Releases.MaxHistory = origSettings.MaxHistory

return actionConfig, nil
}

0 comments on commit 9481c9a

Please sign in to comment.