From c4ae8d8aa5d8790e9c440a9dd2ce87dbc38de639 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Thu, 6 Apr 2023 16:03:02 -0400 Subject: [PATCH] feat: automatically terminate cronjob after 5 minutes --- deploy/apollo/apollo-rhworker/templates/cronjob.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/apollo/apollo-rhworker/templates/cronjob.yaml b/deploy/apollo/apollo-rhworker/templates/cronjob.yaml index cd6a34c..52dfc41 100644 --- a/deploy/apollo/apollo-rhworker/templates/cronjob.yaml +++ b/deploy/apollo/apollo-rhworker/templates/cronjob.yaml @@ -19,6 +19,7 @@ spec: serviceAccountName: {{ include "apollo-rhworker.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | indent 8 }} + activeDeadlineSeconds: 300 containers: - name: {{ .Chart.Name }}-poll-rh-advisories-workflow image: temporalio/admin-tools:1.10.5