Skip to content

Commit

Permalink
71: Fix volume mounting
Browse files Browse the repository at this point in the history
- As outlined in #71, trying to add a custom volumeMount will fail Helm
templating because the mount will be indented too far by two spaces.

- This was tested locally and resolves the templating issue.
  • Loading branch information
yaraskm committed Jan 30, 2024
1 parent b65c52a commit 40e081f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kured/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ spec:
readOnly: true
{{- end }}
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 12 }}
{{- toYaml .Values.volumeMounts | nindent 10 }}
{{- end }}
ports:
- containerPort: {{ .Values.configuration.metricsPort }}
Expand Down

0 comments on commit 40e081f

Please sign in to comment.