From a07ddeb0e455352d062f58182f6ed57e99e8532e Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Mon, 2 Dec 2024 12:45:34 +0100 Subject: [PATCH] allow editing of orphaned day limit --- charts/hub/templates/kerberos-hub/hub-cleanup.yaml | 2 +- charts/hub/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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