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:
324
324
volumeMounts :
325
325
- name : shared
326
326
mountPath : /home/node/shared
327
+ {{- with .Values.webapp.extraVolumeMounts }}
328
+ {{- toYaml . | nindent 12 }}
329
+ {{- end }}
327
330
volumes :
328
331
- name : shared
329
332
{{- if .Values.persistence.shared.enabled }}
@@ -332,6 +335,9 @@ spec:
332
335
{{- else }}
333
336
emptyDir : {}
334
337
{{- end }}
338
+ {{- with .Values.webapp.extraVolumes }}
339
+ {{- toYaml . | nindent 8 }}
340
+ {{- end }}
335
341
{{- with .Values.webapp.nodeSelector }}
336
342
nodeSelector :
337
343
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -115,6 +115,26 @@ webapp:
115
115
# name: my-secret
116
116
# key: secret-key
117
117
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
+
118
138
# ServiceMonitor for Prometheus monitoring
119
139
serviceMonitor :
120
140
enabled : false
You can’t perform that action at this time.
0 commit comments