Skip to content

Commit

Permalink
Fix YAML parsing following podLabels change (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasstockner authored Aug 25, 2022
1 parent 2d27081 commit 675b8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm/sloop/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ spec:
labels:
app.kubernetes.io/name: {{ .Values.name }}
app.kubernetes.io/instance: "{{ .Release.Name }}"
{{ toYaml .Values.podLabels | indent 8 }}
{{- with .Values.podLabels -}}
{{ toYaml . | nindent 8 }}
{{- end }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
spec:
Expand Down

0 comments on commit 675b8ad

Please sign in to comment.