From f94ebfcbebfde94ca9dfbb881252aa8ee5035812 Mon Sep 17 00:00:00 2001 From: darkobas Date: Thu, 3 Oct 2024 00:25:28 +0200 Subject: [PATCH] beekeeper: cleanup jobs after 24h --- charts/beekeeper/templates/job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/beekeeper/templates/job.yaml b/charts/beekeeper/templates/job.yaml index 5ac1cf2..7169af2 100644 --- a/charts/beekeeper/templates/job.yaml +++ b/charts/beekeeper/templates/job.yaml @@ -13,6 +13,7 @@ spec: labels: {{- include "beekeeper.selectorLabels" . | nindent 8 }} spec: + ttlSecondsAfterFinished: 86400 {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}