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 committed Apr 22, 2024
1 parent da1cf5d commit f76716b
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,16 @@ spec:
image: {{ .Values.images }}/dongtai-server:{{ .Values.tag }}
command: [ "/bin/sh","/opt/dongtai/deploy/docker/entrypoint.sh" ]
args: [ "worker-report-only" ]
{{- if .Values.httphealthcheck }}
env:
- name: HTTP_HEALTH_CHECK_PORT
value: "1234"
{{- end }}
{{- include "deploy.config" . | nindent 10 }}
{{- if .Values.healthcheck }}
{{- if .Values.tcphealthcheck }}
{{- include "deploy.Probe" . | nindent 10 }}
{{- else if .Values.httphealthcheck }}
{{- include "deploy.HttpProbe" . | nindent 10 }}
{{- end }}
{{- include "deploy.config.vo" . | nindent 6 }}
{{- end }}
{{- end }}

0 comments on commit f76716b

Please sign in to comment.