Skip to content

Commit

Permalink
Update dongtai-worker-report-only.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyuguo authored Dec 26, 2024
1 parent ad34f37 commit d1801b8
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ 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
Expand All @@ -50,4 +55,10 @@ 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 }}

0 comments on commit d1801b8

Please sign in to comment.