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
@@ -36,8 +36,12 @@ spec:
args: ["--storageServicePort", "8000", "--storageType", "local"]
{{- end }}
env:
- name: PRUNE_ENABLED
value: "{{.Values.storagesvc.archivePruner.enabled}}"
{{- if .Values.storagesvc.archivePruner.enabled }}
- name: PRUNE_INTERVAL
value: "{{.Values.pruneInterval}}"
value: "{{.Values.storagesvc.archivePruner.interval}}"
{{- end }}
- name: DEBUG_ENV
value: {{ .Values.debugEnv | quote }}
- name: PPROF_ENABLED