Skip to content

Commit

Permalink
Fix json whitespace (helm#1458)
Browse files Browse the repository at this point in the history
[stable/grafana] Fix json whitespace
  • Loading branch information
anuraaga authored and unguiculus committed Jul 10, 2017
1 parent 87dbe49 commit ee744fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable/grafana/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
- "Content-Type: application/json;charset=UTF-8"
- "--data-binary"
{{- with .Values.server.setDatasource.datasource }}
- "{\"name\":\"{{ .name }}\",\"type\":\"{{ .type }}\",\"url\":\"{{ .url }}\",\"database\":\"{{ .database }}\",\"jsonData\":{ {{ .jsonData }} },\"access\":\"{{ .access }}\",\"isDefault\":{{ .isDefault } }}"
- "{\"name\":\"{{ .name }}\",\"type\":\"{{ .type }}\",\"url\":\"{{ .url }}\",\"database\":\"{{ .database }}\",\"jsonData\":{ {{ .jsonData }} },\"access\":\"{{ .access }}\",\"isDefault\":{{ .isDefault }}}"
{{- end }}
restartPolicy: {{ .Values.server.setDatasource.restartPolicy }}
{{- end -}}

0 comments on commit ee744fc

Please sign in to comment.