File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,9 @@ spec:
152152 - name : containerd-sock
153153 mountPath : /run/containerd/containerd.sock
154154 readOnly : true
155+ {{- with .Values.agent.extraVolumeMounts }}
156+ {{- toYaml . | nindent 12 }}
157+ {{- end }}
155158 dnsPolicy : {{.Values.agent.dnsPolicy}}
156159 {{- with .Values.agent.nodeSelector }}
157160 nodeSelector :
@@ -182,6 +185,9 @@ spec:
182185 hostPath :
183186 path : {{ .Values.agent.containerdSocketPath }}
184187 type : Socket
188+ {{- with .Values.agent.extraVolumes }}
189+ {{- toYaml . | nindent 8 }}
190+ {{- end }}
185191{{- end }}
186192---
187193{{- if .Values.agent.serviceAccount.create -}}
Original file line number Diff line number Diff line change 5252 - name : controller
5353 image : " {{ .Values.image.repository }}-controller:{{ .Values.image.tag | default .Chart.AppVersion }}"
5454 imagePullPolicy : {{.Values.image.pullPolicy}}
55+ volumeMounts :
56+ {{- with .Values.controller.extraVolumeMounts }}
57+ {{- toYaml . | nindent 12 }}
58+ {{- end }}
5559 securityContext :
5660 {{- toYaml .Values.controller.containerSecurityContext | nindent 12 }}
5761 args :
@@ -143,6 +147,10 @@ spec:
143147 tolerations :
144148 {{- toYaml . | nindent 8 }}
145149 {{- end }}
150+ volumes :
151+ {{- with .Values.controller.extraVolumes }}
152+ {{- toYaml . | nindent 8 }}
153+ {{- end }}
146154
147155{{- end }}
148156---
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ pyroscope:
4949agent :
5050 enabled : false
5151
52+ # -- Used to set additional volumes.
53+ extraVolumes : []
54+
55+ # -- Used to set additional volume mounts.
56+ extraVolumeMounts : []
57+
5258 serviceAccount :
5359 # Specifies whether a service account should be created
5460 create : true
@@ -145,6 +151,12 @@ agent:
145151controller :
146152 enabled : true
147153
154+ # -- Used to set additional volumes.
155+ extraVolumes : []
156+
157+ # -- Used to set additional volume mounts.
158+ extraVolumeMounts : []
159+
148160 replicas : 1
149161
150162 serviceAccount :
You can’t perform that action at this time.
0 commit comments