diff --git a/charts/hub/templates/kerberos-hub/hub-cleanup.yaml b/charts/hub/templates/kerberos-hub/hub-cleanup.yaml index 001fc54..4a781fd 100644 --- a/charts/hub/templates/kerberos-hub/hub-cleanup.yaml +++ b/charts/hub/templates/kerberos-hub/hub-cleanup.yaml @@ -35,7 +35,7 @@ spec: - name: READ_ONLY value: "{{ .Values.readonly }}" - name: MAX_DAYS - value: "30" + value: "{{ .Values.kerberoshub.cleanup.maxDays }}" - name: MONGODB_DATABASE_CLOUD value: "Kerberos" - name: MONGODB_URI diff --git a/charts/hub/values.yaml b/charts/hub/values.yaml index 0c8a654..8f72992 100644 --- a/charts/hub/values.yaml +++ b/charts/hub/values.yaml @@ -340,6 +340,7 @@ kerberoshub: repository: kerberos/hub-cleanup pullPolicy: IfNotPresent tag: "1.0.6436406806" + maxDays: "365" # The maximum number of days to keep orphaned recordings. resources: requests: memory: 10Mi