|
@@ -110,6 +110,7 @@ spec:
|
|
|
{{- include "dolphinscheduler.sharedStorage.volumeMount" . | nindent 12 }}
|
|
|
{{- include "dolphinscheduler.fsFileResource.volumeMount" . | nindent 12 }}
|
|
|
volumes:
|
|
|
+ {{- if .Values.worker.persistentVolumeClaim.enabled }}
|
|
|
- name: {{ include "dolphinscheduler.fullname" . }}-worker-data
|
|
|
{{- if .Values.worker.persistentVolumeClaim.dataPersistentVolume.enabled }}
|
|
|
persistentVolumeClaim:
|
|
@@ -124,6 +125,12 @@ spec:
|
|
|
{{- else }}
|
|
|
emptyDir: {}
|
|
|
{{- end }}
|
|
|
+ {{- else }}
|
|
|
+ - name: {{ include "dolphinscheduler.fullname" . }}-worker-data
|
|
|
+ emptyDir: {}
|
|
|
+ - name: {{ include "dolphinscheduler.fullname" . }}-worker-logs
|
|
|
+ emptyDir: {}
|
|
|
+ {{- end }}
|
|
|
- name: config-volume
|
|
|
configMap:
|
|
|
name: {{ include "dolphinscheduler.fullname" . }}-configs
|