From 255c71e9bdf57cb3a02ed2e40047c1a3f74c4e1b Mon Sep 17 00:00:00 2001 From: ramsinghtmdc <157681942+ramsinghtmdc@users.noreply.github.com> Date: Thu, 10 Jul 2025 12:17:11 +0530 Subject: [PATCH] feat(helm): Added health port in ClusterIP (#1535) Signed-off-by: Ram Singh Panwar --- charts/capsule/templates/deployment.yaml | 3 +++ charts/capsule/templates/metrics-service.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/charts/capsule/templates/deployment.yaml b/charts/capsule/templates/deployment.yaml index d219ef7c..a60e5c09 100644 --- a/charts/capsule/templates/deployment.yaml +++ b/charts/capsule/templates/deployment.yaml @@ -89,6 +89,9 @@ spec: - name: metrics containerPort: 8080 protocol: TCP + - name: health-api + containerPort: 10080 + protocol: TCP {{- end }} {{- with .Values.manager.ports }} {{- . | nindent 12 }} diff --git a/charts/capsule/templates/metrics-service.yaml b/charts/capsule/templates/metrics-service.yaml index bd205050..45cd4e7e 100644 --- a/charts/capsule/templates/metrics-service.yaml +++ b/charts/capsule/templates/metrics-service.yaml @@ -15,6 +15,10 @@ spec: name: metrics protocol: TCP targetPort: 8080 + - port: 10080 + name: health-api + protocol: TCP + targetPort: 10080 selector: {{- include "capsule.selectorLabels" . | nindent 4 }} sessionAffinity: None