diff --git a/charts/argocd-image-updater/Chart.yaml b/charts/argocd-image-updater/Chart.yaml index ea10791d..9ff3361e 100644 --- a/charts/argocd-image-updater/Chart.yaml +++ b/charts/argocd-image-updater/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argocd-image-updater description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD type: application -version: 0.5.0 +version: 0.6.0 appVersion: v0.11.0 home: https://github.com/argoproj-labs/argocd-image-updater icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png @@ -15,4 +15,4 @@ maintainers: url: https://argoproj.github.io/ annotations: artifacthub.io/changes: | - - "[Changed]: Update to app version v0.11.0" + - "[Added]: Mount ssh-known-hosts from argocd" diff --git a/charts/argocd-image-updater/templates/deployment.yaml b/charts/argocd-image-updater/templates/deployment.yaml index d975747d..9c414072 100644 --- a/charts/argocd-image-updater/templates/deployment.yaml +++ b/charts/argocd-image-updater/templates/deployment.yaml @@ -128,6 +128,8 @@ spec: name: image-updater-conf - mountPath: /tmp name: tmp-dir + - mountPath: /app/config/ssh + name: ssh-known-hosts {{- if .Values.authScripts.enabled }} - mountPath: /scripts name: authscripts @@ -150,6 +152,10 @@ spec: {{- end }} - emptyDir: {} name: tmp-dir + - configMap: + name: argocd-ssh-known-hosts-cm + optional: true + name: ssh-known-hosts {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}