Skip to content

Commit

Permalink
71: Fix volume mounting (#72)
Browse files Browse the repository at this point in the history
* 71: Fix volume mounting

- 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.

Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com>

* Bumped chart version as per PR review

Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com>

---------

Signed-off-by: Matt Yaraskavitch <62650344+yaraskm@users.noreply.github.com>
  • Loading branch information
yaraskm authored Jan 31, 2024
1 parent b65c52a commit f093eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kured/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.15.0"
description: A Helm chart for kured
name: kured
version: 5.4.1
version: 5.4.2
home: https://github.com/kubereboot/kured
maintainers:
- name: chopf
Expand Down
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 f093eb9

Please sign in to comment.