I’ve the following code which works to generate the names One after another:
{{- range .File.apps}}
{{ .Name}}
{{- end}}
This prints
app1
app2
app3
The problem is that I need to get it In the same line and not one after other
app1 app2 app3
When I try like following it remove the firsts entry and put only the last value. i.e. i'll get only app3
{{- range .File.apps}} {{ .Name}} {{- end}}
How can I do that?