feat(argocd-image-updater): Mount ssh-known-hosts from argocd (#1040)

* feat(argocd-image-updater): Mount ssh-known-hosts from argocd

Signed-off-by: Dong Wang <wd@wdicc.com>

* Bump minor version

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Dong Wang 2021-12-07 14:40:09 +08:00 committed by GitHub
parent 16a3b26f0e
commit 60693bb289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -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 }}