Skip to content

Commit 6c4d784

Browse files
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
1 parent 3f285f5 commit 6c4d784

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

charts/intel/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: codetogether-intel
33
description: CodeTogether Intel provides advanced project insights for developers
44

55
type: application
6-
version: 1.3.4
6+
version: 1.3.5
77
appVersion: "2026.1.2"
88

99
icon: https://www.codetogether.com/wp-content/uploads/2020/02/codetogether-circle-128.png

charts/intel/templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ spec:
147147
successThreshold: {{ .Values.livenessProbe.successThreshold }}
148148
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
149149
httpGet:
150-
path: /
151-
port: http
150+
path: {{ .Values.livenessProbe.path | default "/" }}
151+
port: {{ .Values.livenessProbe.port | default "http" }}
152152

153153
readinessProbe:
154154
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
@@ -157,8 +157,8 @@ spec:
157157
successThreshold: {{ .Values.readinessProbe.successThreshold }}
158158
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
159159
httpGet:
160-
path: /
161-
port: http
160+
path: {{ .Values.readinessProbe.path | default "/" }}
161+
port: {{ .Values.readinessProbe.port | default "http" }}
162162

163163
resources:
164164
{{- toYaml .Values.resources | nindent 12 }}

charts/intel/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,17 @@ ai:
173173
#memory: "4Gi"
174174

175175
readinessProbe:
176+
path: /
177+
port: http
176178
initialDelaySeconds: 60
177179
periodSeconds: 60
178180
timeoutSeconds: 15
179181
successThreshold: 1
180182
failureThreshold: 1
181183

182184
livenessProbe:
185+
path: /
186+
port: http
183187
initialDelaySeconds: 60
184188
periodSeconds: 60
185189
timeoutSeconds: 15

0 commit comments

Comments
 (0)