Skip to content

Commit

Permalink
fix(argo-cd): Set TTL on redis-secret-init Job (#2861)
Browse files Browse the repository at this point in the history
* feat: set ttlsecondsafterfinished to prevent stuck during sync when managed by argocd

Signed-off-by: Johannes Kleinlercher <[email protected]>

* fix: increased version and added changelig

Signed-off-by: Johannes Kleinlercher <[email protected]>

* chore: Apply suggestions from code review

Signed-off-by: Marco Maurer (-Kilchhofer) <[email protected]>

---------

Signed-off-by: Johannes Kleinlercher <[email protected]>
Signed-off-by: Johannes Kleinlercher <[email protected]>
Signed-off-by: Marco Maurer (-Kilchhofer) <[email protected]>
Co-authored-by: Marco Maurer (-Kilchhofer) <[email protected]>
  • Loading branch information
jkleinlercher and mkilchhofer authored Aug 6, 2024
1 parent 97a3db1 commit 2251079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: v2.12.0
kubeVersion: ">=1.25.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 7.4.0
version: 7.4.1
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
Expand All @@ -26,5 +26,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Bump argo-cd to v2.11.4
- kind: fixed
description: added ttlsecondsafterfinished in redis-secret-init job to prevent a stuck in waiting for completion of hook batch/Job/argocd-redis-secret-init
1 change: 1 addition & 0 deletions charts/argo-cd/templates/redis-secret-init/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2251079

Please sign in to comment.