From 9d6a91277e2d5a0004c17dc962c0640ce92fd1da Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Sun, 13 Oct 2024 20:23:37 +0200 Subject: [PATCH] Update default expected cleaner grace period --- .../tests/__snapshot__/multijuicer_test.yaml.snap | 6 +++--- helm/multi-juicer/values.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap b/helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap index d6941d31..f002f8fc 100644 --- a/helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap +++ b/helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap @@ -30,7 +30,7 @@ default values render correctly: - name: NAMESPACE value: NAMESPACE - name: MAX_INACTIVE_DURATION - value: 1d + value: 24h image: ghcr.io/juice-shop/multi-juicer/cleaner:v42.0.0 imagePullPolicy: IfNotPresent name: cleanup-job @@ -551,7 +551,7 @@ full values render out correctly: - name: NAMESPACE value: NAMESPACE - name: MAX_INACTIVE_DURATION - value: 1d + value: 24h image: ghcr.io/juice-shop/multi-juicer/cleaner:v42.0.0 imagePullPolicy: IfNotPresent name: cleanup-job @@ -3210,7 +3210,7 @@ production notes work correctly: - name: NAMESPACE value: NAMESPACE - name: MAX_INACTIVE_DURATION - value: 1d + value: 24h image: ghcr.io/juice-shop/multi-juicer/cleaner:v42.0.0 imagePullPolicy: IfNotPresent name: cleanup-job diff --git a/helm/multi-juicer/values.yaml b/helm/multi-juicer/values.yaml index cc0b2b2f..07155975 100644 --- a/helm/multi-juicer/values.yaml +++ b/helm/multi-juicer/values.yaml @@ -206,7 +206,7 @@ juiceShopCleanup: tag: null enabled: true # -- Specifies when Juice Shop instances will be deleted when unused for that period. - gracePeriod: 5m + gracePeriod: 24h # -- Cron in which the clean up job is run. Defaults to once in an hour. Change this if your grace period if shorter than 1 hour cron: "0 * * * *" successfulJobsHistoryLimit: 1