From da1cf5d48205b9d8b8800c423678f2a9fb0cb133 Mon Sep 17 00:00:00 2001 From: lingyuguo <30824318+lingyuguo@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:37:26 +0800 Subject: [PATCH] Update dongtai-worker-other.yaml --- .../templates/deployments/dongtai-worker-other.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-other.yaml b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-other.yaml index 7c3e52f2..e910a936 100644 --- a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-other.yaml +++ b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-other.yaml @@ -40,8 +40,14 @@ spec: env: - name: DONGTAI_CONCURRENCY value: {{.Values.build.env_other}} + {{- if .Values.httphealthcheck }} + - 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 }} \ No newline at end of file + {{- include "deploy.config.vo" . | nindent 6 }}