From 6c4d78450e487223236abe7b3bfe5fee2db4166e Mon Sep 17 00:00:00 2001 From: danc094codetogether Date: Thu, 9 Apr 2026 10:33:04 -0600 Subject: [PATCH] feat: make health probe path/port configurable (v1.3.5) Template the hardcoded path (/) and port (http) in liveness and readiness probes so they can be overridden via values. Defaults preserve existing behavior for all current deployments. CTPD-4358 Made-with: Cursor --- charts/intel/Chart.yaml | 2 +- charts/intel/templates/deployment.yaml | 8 ++++---- charts/intel/values.yaml | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/intel/Chart.yaml b/charts/intel/Chart.yaml index 2fa000d..c80f096 100644 --- a/charts/intel/Chart.yaml +++ b/charts/intel/Chart.yaml @@ -3,7 +3,7 @@ name: codetogether-intel description: CodeTogether Intel provides advanced project insights for developers type: application -version: 1.3.4 +version: 1.3.5 appVersion: "2026.1.2" icon: https://www.codetogether.com/wp-content/uploads/2020/02/codetogether-circle-128.png diff --git a/charts/intel/templates/deployment.yaml b/charts/intel/templates/deployment.yaml index 110b1fd..d7ec1c5 100644 --- a/charts/intel/templates/deployment.yaml +++ b/charts/intel/templates/deployment.yaml @@ -147,8 +147,8 @@ spec: successThreshold: {{ .Values.livenessProbe.successThreshold }} failureThreshold: {{ .Values.livenessProbe.failureThreshold }} httpGet: - path: / - port: http + path: {{ .Values.livenessProbe.path | default "/" }} + port: {{ .Values.livenessProbe.port | default "http" }} readinessProbe: initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} @@ -157,8 +157,8 @@ spec: successThreshold: {{ .Values.readinessProbe.successThreshold }} failureThreshold: {{ .Values.readinessProbe.failureThreshold }} httpGet: - path: / - port: http + path: {{ .Values.readinessProbe.path | default "/" }} + port: {{ .Values.readinessProbe.port | default "http" }} resources: {{- toYaml .Values.resources | nindent 12 }} diff --git a/charts/intel/values.yaml b/charts/intel/values.yaml index c6f6863..4dfa92a 100644 --- a/charts/intel/values.yaml +++ b/charts/intel/values.yaml @@ -173,6 +173,8 @@ ai: #memory: "4Gi" readinessProbe: + path: / + port: http initialDelaySeconds: 60 periodSeconds: 60 timeoutSeconds: 15 @@ -180,6 +182,8 @@ readinessProbe: failureThreshold: 1 livenessProbe: + path: / + port: http initialDelaySeconds: 60 periodSeconds: 60 timeoutSeconds: 15