Add extra volume mounts

This commit is contained in:
Caleb Woodbine
2021-05-15 11:59:40 +12:00
parent 3ede43a93d
commit fffcb3e873
2 changed files with 11 additions and 2 deletions

View File

@ -300,6 +300,9 @@ spec:
volumeMounts: volumeMounts:
- name: app-tmp - name: app-tmp
mountPath: /app/tmp mountPath: /app/tmp
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -313,5 +316,8 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
volumes: volumes:
- name: app-tmp - name: app-tmp
emptyDir: {} emptyDir: {}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}

View File

@ -128,3 +128,6 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} affinity: {}
extraVolumeMounts: []
extraVolumes: []