Skip to content

Commit

Permalink
Fix template for multiple labels and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin committed Jun 17, 2020
1 parent 33d66ae commit 87e17b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"namespace": "{{ .Release.Namespace }}",
"labels": {
{{- range $name, $val := .Values.labels }}
"{{ $name }}": "{{ $val }}"
"{{ $name }}": "{{ $val }}",
{{ end -}}
}
},
"spec": {
"name": "{{ .Release.Name }}",
"annotations": {
{{- range $name, $val := .Values.annotations }}
"{{ $name }}": "{{ $val }}"
"{{ $name }}": "{{ $val }}",
{{ end -}}
},
"predictors": [
Expand Down

0 comments on commit 87e17b3

Please sign in to comment.