Added variable to enable or disable archivePruner (#2458)

* Added variable to enable or disable archivePruner

* Made fixes according to code review comments

* Minor changes
This commit is contained in:
Ankit Chawla
2022-06-15 10:48:24 +05:30
committed by GitHub
parent fe8f53375e
commit b80b41e1fd
4 changed files with 19 additions and 5 deletions
+6 -1
View File
@@ -365,6 +365,12 @@ storagesvc:
##
resources: {}
## Archive pruner removes archives from storage which are not referenced by any package.
archivePruner:
enabled: true
## Run prune routine at interval (in minutes)
interval: 60
## Security Context
## It holds pod-level and container level security configuration.
## This is an experimental section, please verify before enabling in production.
@@ -567,7 +573,6 @@ busyboxImage: busybox
## This interval configures the frequency at which it runs inside the storagesvc pod.
## The value is in minutes.
##
pruneInterval: 60
preUpgradeChecks:
## Run pre-install/pre-upgrade checks if true