File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
deploy/kubernetes/helm/templates/deployments Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 3838 image : {{ .Values.images }}/dongtai-server:{{ .Values.tag }}
3939 command : [ "/bin/sh","/opt/dongtai/deploy/docker/entrypoint.sh" ]
4040 args : [ "worker-report-only" ]
41+ {{- if .Values.storage.persistentVolumeClaim }}
42+ volumeMounts :
43+ - name : {{ template "dongtai.fullname" . }}-log-path
44+ mountPath : /tmp/logstash
45+ {{- end }}
4146 {{- if .Values.httphealthcheck }}
4247 env :
4348 - name : HTTP_HEALTH_CHECK_PORT
5055 {{- include "deploy.HttpProbe" . | nindent 10 }}
5156 {{- end }}
5257 {{- include "deploy.config.vo" . | nindent 6 }}
58+ {{- if .Values.storage.persistentVolumeClaim }}
59+ volumes :
60+ - name : {{ template "dongtai.fullname" . }}-log-path
61+ persistentVolumeClaim :
62+ {{ include "deploy.config.persistentVolumeClaim" . }}
63+ {{- end }}
5364{{- end }}
You can’t perform that action at this time.
0 commit comments