fix(argo-cd): Set TTL on redis-secret-init Job (#2861)

* feat: set ttlsecondsafterfinished to prevent stuck during sync when managed by argocd

Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>

* fix: increased version and added changelig

Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>

* chore: Apply suggestions from code review

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Johannes Kleinlercher 2024-08-06 12:14:17 +02:00 committed by GitHub
parent 97a3db19cf
commit 2251079c26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -13,6 +13,7 @@ metadata:
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redisSecretInit.name "name" .Values.redisSecretInit.name) | nindent 4 }}
spec:
ttlSecondsAfterFinished: 60
template:
metadata:
labels: