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:
parent
16a3b26f0e
commit
60693bb289
2 changed files with 8 additions and 2 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue