Add ssh-known-hosts and tls cert cms and vols (#112)

This commit is contained in:
Carson A 2019-09-19 17:38:12 -06:00 committed by Alex Collins
parent f8dc826d58
commit 4ccce676b0
4 changed files with 50 additions and 0 deletions

View file

@ -40,6 +40,10 @@ spec:
- {{. | quote }}
{{- end }}
volumeMounts:
- mountPath: /app/config/ssh
name: ssh-known-hosts
- mountPath: /app/config/tls
name: tls-certs
{{- if .Values.server.volumeMounts }}
{{ toYaml .Values.server.volumeMounts | nindent 8 | trim }}
{{- end }}
@ -61,6 +65,12 @@ spec:
volumes:
- emptyDir: {}
name: static-files
- configMap:
name: argocd-ssh-known-hosts-cm
name: ssh-known-hosts
- configMap:
name: argocd-tls-certs-cm
name: tls-certs
{{- if .Values.server.volumes }}
{{ toYaml .Values.server.volumes | nindent 6 | trim }}
{{- end }}