From 572f4bba37a7e79e7bf99b1ca1cdc2117b502bad Mon Sep 17 00:00:00 2001 From: ishells Date: Thu, 12 Dec 2024 18:04:39 +0800 Subject: [PATCH] modify helm template containerPort to avoid svc ports impact deployment readnessProbe. --- helm/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index ca498b27..b5c7cb5f 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -62,7 +62,7 @@ spec: value: "{{ .Values.swagger.enabled }}" ports: - name: http - containerPort: {{ .Values.service.port }} + containerPort: 8080 protocol: TCP readinessProbe: httpGet: