This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch 3.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.1-prepare by this push:
new 1b2d8be489 [helm] fix worker template persistentVolumeClaim link
(#11248) (#12018)
1b2d8be489 is described below
commit 1b2d8be4892c753c167121e4520083bdac388e21
Author: Kerwin <[email protected]>
AuthorDate: Sun Sep 18 07:15:11 2022 +0800
[helm] fix worker template persistentVolumeClaim link (#11248) (#12018)
Co-authored-by: shiyu li <[email protected]>
---
.../templates/statefulset-dolphinscheduler-worker.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml
b/deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml
index ce266d1eaf..aa5709dcd1 100644
---
a/deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml
+++
b/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