Skip to content
Permalink
Browse files
fix(deploy): lower releases-history-max default to 5 releases (was 10)
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Sep 9, 2022
1 parent 256ce3c commit 7e2cc3deb7e457608e27d3b93b6777987356717f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
@@ -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(
@@ -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=''
@@ -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=''
@@ -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=''
@@ -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
@@ -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=''

0 comments on commit 7e2cc3d

Please sign in to comment.