Skip to content

Commit 9269b52

Browse files
Add support for additional volume mounts and volumes in Helm daemonset template (#1662)
1 parent 7a572f0 commit 9269b52

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: charts/beyla/templates/daemon-set.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ spec:
107107
volumeMounts:
108108
- mountPath: /etc/beyla/config
109109
name: beyla-config
110+
{{- with .Values.volumeMounts }}
111+
{{- toYaml . | nindent 12 }}
112+
{{- end }}
110113
{{- if or .Values.global.image.pullSecrets .Values.image.pullSecrets }}
111114
imagePullSecrets:
112115
{{- if .Values.global.image.pullSecrets }}
@@ -131,3 +134,6 @@ spec:
131134
- name: beyla-config
132135
configMap:
133136
name: {{ default (include "beyla.fullname" .) .Values.config.name }}
137+
{{- with .Values.volumes }}
138+
{{- toYaml . | nindent 8 }}
139+
{{- end }}

Diff for: charts/beyla/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ volumes: []
146146
# secretName: mysecret
147147
# optional: false
148148

149-
# -- Additional volumeMounts on the output Deployment definition.
149+
# -- Additional volumeMounts on the output daemonset definition.
150150
volumeMounts: []
151151
# - name: foo
152152
# mountPath: "/etc/foo"

0 commit comments

Comments
 (0)