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:
- name: app-tmp
mountPath: /app/tmp
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -313,5 +316,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: app-tmp
emptyDir: {}
- name: app-tmp
emptyDir: {}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}

View File

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