Browse Source

[helm] fix worker template persistentVolumeClaim link (#11248) (#12018)

Co-authored-by: shiyu li <675590586@qq.com>
3.0.1-release
Kerwin 2 years ago committed by GitHub
parent
commit
1b2d8be489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml

7
deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml

@ -111,6 +111,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:
@ -125,6 +126,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

Loading…
Cancel
Save