From 52e09b2ef7593b949968764cf353add47fea1e04 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 28 Jun 2024 06:54:51 -0500 Subject: [PATCH] Set default ttlStrategy for argo pods This will ensure that argo pods are cleaned up when they're finished. --- deployment/helm/argo-values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deployment/helm/argo-values.yaml b/deployment/helm/argo-values.yaml index e775b2d2..7a496451 100644 --- a/deployment/helm/argo-values.yaml +++ b/deployment/helm/argo-values.yaml @@ -12,6 +12,12 @@ controller: registry: pccomponentstest.azurecr.io repository: argoproj/workflow-controller tag: v3.5.7 + workflowDefaults: + spec: + ttlStrategy: + secondsAfterCompletion: 84600 # 23.5 hours + podGC: + strategy: OnPodCompletion executor: image: registry: pccomponentstest.azurecr.io