Fix if clause to avoid creating empty config
This would avoid creating of the empty config file when the config
section in the values.yaml is not provided.
@@ -15,8 +15,8 @@ data:
{{ .Values.ssh.known_hosts }}
{{- end }}
{{- end }}
- config: |
{{- if .Values.ssh.config }}
+ config: |
{{- if contains "\n" .Values.ssh.config }}
{{- range $value := .Values.ssh.config | splitList "\n" }}
{{ print $value }}
