File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,9 @@ spec:
324324 volumeMounts :
325325 - name : shared
326326 mountPath : /home/node/shared
327+ {{- with .Values.webapp.extraVolumeMounts }}
328+ {{- toYaml . | nindent 12 }}
329+ {{- end }}
327330 volumes :
328331 - name : shared
329332 {{- if .Values.persistence.shared.enabled }}
@@ -332,6 +335,9 @@ spec:
332335 {{- else }}
333336 emptyDir : {}
334337 {{- end }}
338+ {{- with .Values.webapp.extraVolumes }}
339+ {{- toYaml . | nindent 8 }}
340+ {{- end }}
335341 {{- with .Values.webapp.nodeSelector }}
336342 nodeSelector :
337343 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -115,6 +115,26 @@ webapp:
115115 # name: my-secret
116116 # key: secret-key
117117
118+ # Extra volumes for the webapp pod
119+ extraVolumes :
120+ []
121+ # - name: config-volume
122+ # configMap:
123+ # name: my-config
124+ # - name: secret-volume
125+ # secret:
126+ # secretName: my-secret
127+
128+ # Extra volume mounts for the webapp container
129+ extraVolumeMounts :
130+ []
131+ # - name: config-volume
132+ # mountPath: /etc/config
133+ # readOnly: true
134+ # - name: secret-volume
135+ # mountPath: /etc/secrets
136+ # readOnly: true
137+
118138 # ServiceMonitor for Prometheus monitoring
119139 serviceMonitor :
120140 enabled : false
You can’t perform that action at this time.
0 commit comments