apiVersion: v1 {{- toYaml .Values.configs.knownHosts | nindent 0 }} kind: ConfigMap metadata: labels: {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "ssh-known-hosts-cm") | nindent 4 }} {{- if .Values.configs.knownHostsAnnotations }} annotations: {{- range $key, $value := .Values.configs.knownHostsAnnotations }} {{ $key }}: {{ $value | quote }} {{- end }} {{- end }} name: argocd-ssh-known-hosts-cm