diff --git a/helm-charts/nts-pool/templates/cron-config-updater.yaml b/helm-charts/nts-pool/templates/cron-config-updater.yaml index 2985b53a..0e8fbe61 100644 --- a/helm-charts/nts-pool/templates/cron-config-updater.yaml +++ b/helm-charts/nts-pool/templates/cron-config-updater.yaml @@ -26,6 +26,9 @@ metadata: {{- include "nts-pool.labels" . | nindent 4 }} spec: schedule: "{{ .Values.configUpdater.schedule }}" + successfulJobsHistoryLimit: {{ .Values.configUpdater.successfulJobsHistoryLimit }} + failedJobsHistoryLimit: {{ .Values.configUpdater.failedJobsHistoryLimit }} + concurrencyPolicy: "{{ .Values.configUpdater.concurrencyPolicy }}" jobTemplate: spec: template: diff --git a/helm-charts/nts-pool/values.yaml b/helm-charts/nts-pool/values.yaml index 5c5fbfa0..55493a54 100644 --- a/helm-charts/nts-pool/values.yaml +++ b/helm-charts/nts-pool/values.yaml @@ -139,6 +139,12 @@ geolocation: configUpdater: # When to run the config updater jobs schedule: "* * * * *" + # How many successful job runs to keep in the history + successfulJobsHistoryLimit: 3 + # How many failed job runs to keep in the history + failedJobsHistoryLimit: 5 + # Concurrency policy for the cron job (Allow, Forbid, Replace) + concurrencyPolicy: "Forbid" # Override global image settings for the config updater image: pullSecrets: null