Skip to content

Commit

Permalink
fix: set post-install-hook ttlSecondsAfterFinished to 60 (aws#6765)
Browse files Browse the repository at this point in the history
Fixes an argocd issue where helm hooks never finish syncing when they
have ttlSecondsAfterFinished set to 0.

See related argocd issue: argoproj/argo-cd#6880

Suggested workaround as implemented by argocd team: argoproj/argo-helm#2861
  • Loading branch information
msvechla committed Aug 21, 2024
1 parent 28da0b9 commit 002381c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/karpenter/templates/post-install-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ttlSecondsAfterFinished: 0
ttlSecondsAfterFinished: 60
template:
spec:
serviceAccountName: {{ include "karpenter.serviceAccountName" . }}
Expand Down

0 comments on commit 002381c

Please sign in to comment.