fix(argo-cd): Restart repo server on known-hosts configmap change

Fixes ArgoCD Repo Server does not restart when `argocd-ssh-known-hosts-cm` changes #2493

Signed-off-by: Lukas Jost <lukas.jost@outlook.com>
This commit is contained in:
Lukas Jost 2024-02-10 21:50:51 +00:00
parent c25c83b0db
commit 460ee1e708
No known key found for this signature in database
GPG key ID: 5D9FA6930B90910E
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.10.0
kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 6.0.5
version: 6.0.6
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -26,5 +26,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Improved documentation for various ingress setups
- kind: fixed
description: Restart ArgoCD repository server on known-hosts configmap change

View file

@ -36,6 +36,7 @@ spec:
{{- if .Values.configs.cmp.create }}
checksum/cmp-cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmp-cm.yaml") . | sha256sum }}
{{- end }}
checksum/known-hosts-cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-ssh-known-hosts-cm.yaml") . | sha256sum }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.repoServer.podAnnotations) }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}