diff --git a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-report-only.yaml b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-report-only.yaml index 595de2e7..1e3e637b 100644 --- a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-report-only.yaml +++ b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-report-only.yaml @@ -38,11 +38,6 @@ spec: image: {{ .Values.images }}/dongtai-server:{{ .Values.tag }} command: [ "/bin/sh","/opt/dongtai/deploy/docker/entrypoint.sh" ] args: [ "worker-report-only" ] - {{- if .Values.storage.persistentVolumeClaim }} - volumeMounts: - - name: {{ template "dongtai.fullname" . }}-log-path - mountPath: /tmp/logstash - {{- end }} {{- if .Values.httphealthcheck }} env: - name: HTTP_HEALTH_CHECK_PORT @@ -55,10 +50,4 @@ spec: {{- include "deploy.HttpProbe" . | nindent 10 }} {{- end }} {{- include "deploy.config.vo" . | nindent 6 }} - {{- if .Values.storage.persistentVolumeClaim }} - volumes: - - name: {{ template "dongtai.fullname" . }}-log-path - persistentVolumeClaim: - {{ include "deploy.config.persistentVolumeClaim" . }} - {{- end }} {{- end }}