Skip to content

Commit

Permalink
fix(deploy): lower releases-history-max default to 5 releases (was 10)
Browse files Browse the repository at this point in the history
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Sep 9, 2022
1 parent 256ce3c commit 7e2cc3d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/werf/common/common.go
Expand Up @@ -334,7 +334,7 @@ func SetupReleasesHistoryMax(cmdData *CmdData, cmd *cobra.Command) {
if defaultValueP != nil {
defaultValue = int(*defaultValueP)
} else {
defaultValue = 10
defaultValue = 5
}

cmd.Flags().IntVarP(
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_bundle_apply.md
Expand Up @@ -80,7 +80,7 @@ werf bundle apply [options]
--release=''
Use specified Helm release name (default [[ project ]]-[[ env ]] template or
deploy.helmRelease custom template from werf.yaml or $WERF_RELEASE)
--releases-history-max=10
--releases-history-max=5
Max releases to keep in release storage. Can be set by environment variable
$WERF_RELEASES_HISTORY_MAX. By default werf keeps all releases.
--repo=''
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_converge.md
Expand Up @@ -246,7 +246,7 @@ werf converge --repo registry.mydomain.com/web --env production
--release=''
Use specified Helm release name (default [[ project ]]-[[ env ]] template or
deploy.helmRelease custom template from werf.yaml or $WERF_RELEASE)
--releases-history-max=10
--releases-history-max=5
Max releases to keep in release storage. Can be set by environment variable
$WERF_RELEASES_HISTORY_MAX. By default werf keeps all releases.
--repo=''
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_dismiss.md
Expand Up @@ -178,7 +178,7 @@ werf dismiss [options]
--release=''
Use specified Helm release name (default [[ project ]]-[[ env ]] template or
deploy.helmRelease custom template from werf.yaml or $WERF_RELEASE)
--releases-history-max=10
--releases-history-max=5
Max releases to keep in release storage. Can be set by environment variable
$WERF_RELEASES_HISTORY_MAX. By default werf keeps all releases.
--repo=''
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_helm.md
Expand Up @@ -48,7 +48,7 @@ Manage application deployment with helm
Enable verbose output (default $WERF_LOG_VERBOSE).
-n, --namespace=''
namespace scope for this request
--releases-history-max=10
--releases-history-max=5
Max releases to keep in release storage. Can be set by environment variable
$WERF_RELEASES_HISTORY_MAX. By default werf keeps all releases.
--status-progress-period=5
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_render.md
Expand Up @@ -191,7 +191,7 @@ werf render [options]
--release=''
Use specified Helm release name (default [[ project ]]-[[ env ]] template or
deploy.helmRelease custom template from werf.yaml or $WERF_RELEASE)
--releases-history-max=10
--releases-history-max=5
Max releases to keep in release storage. Can be set by environment variable
$WERF_RELEASES_HISTORY_MAX. By default werf keeps all releases.
--repo=''
Expand Down

0 comments on commit 7e2cc3d

Please sign in to comment.