Skip to content

Commit b1588fa

Browse files
authored
fix(helm): use /healthz for liveness and readiness probes instead of /api/v2/buildinfo (#8035)
1 parent 977e9ef commit b1588fa

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

helm/templates/coder.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ spec:
126126
securityContext: {{ toYaml .Values.coder.securityContext | nindent 12 }}
127127
readinessProbe:
128128
httpGet:
129-
path: /api/v2/buildinfo
129+
path: /healthz
130130
port: "http"
131131
scheme: "HTTP"
132132
livenessProbe:
133133
httpGet:
134-
path: /api/v2/buildinfo
134+
path: /healthz
135135
port: "http"
136136
scheme: "HTTP"
137137
{{- include "coder.volumeMounts" . | nindent 10 }}

helm/tests/testdata/default_values.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ spec:
173173
type: RuntimeDefault
174174
readinessProbe:
175175
httpGet:
176-
path: /api/v2/buildinfo
176+
path: /healthz
177177
port: "http"
178178
scheme: "HTTP"
179179
livenessProbe:
180180
httpGet:
181-
path: /api/v2/buildinfo
181+
path: /healthz
182182
port: "http"
183183
scheme: "HTTP"
184184
volumeMounts: []

helm/tests/testdata/labels_annotations.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@ spec:
179179
type: RuntimeDefault
180180
readinessProbe:
181181
httpGet:
182-
path: /api/v2/buildinfo
182+
path: /healthz
183183
port: "http"
184184
scheme: "HTTP"
185185
livenessProbe:
186186
httpGet:
187-
path: /api/v2/buildinfo
187+
path: /healthz
188188
port: "http"
189189
scheme: "HTTP"
190190
volumeMounts: []

helm/tests/testdata/sa.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ spec:
173173
type: RuntimeDefault
174174
readinessProbe:
175175
httpGet:
176-
path: /api/v2/buildinfo
176+
path: /healthz
177177
port: "http"
178178
scheme: "HTTP"
179179
livenessProbe:
180180
httpGet:
181-
path: /api/v2/buildinfo
181+
path: /healthz
182182
port: "http"
183183
scheme: "HTTP"
184184
volumeMounts: []

helm/tests/testdata/tls.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ spec:
188188
type: RuntimeDefault
189189
readinessProbe:
190190
httpGet:
191-
path: /api/v2/buildinfo
191+
path: /healthz
192192
port: "http"
193193
scheme: "HTTP"
194194
livenessProbe:
195195
httpGet:
196-
path: /api/v2/buildinfo
196+
path: /healthz
197197
port: "http"
198198
scheme: "HTTP"
199199
volumeMounts:

helm/tests/testdata/workspace_proxy.golden

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ spec:
181181
type: RuntimeDefault
182182
readinessProbe:
183183
httpGet:
184-
path: /api/v2/buildinfo
184+
path: /healthz
185185
port: "http"
186186
scheme: "HTTP"
187187
livenessProbe:
188188
httpGet:
189-
path: /api/v2/buildinfo
189+
path: /healthz
190190
port: "http"
191191
scheme: "HTTP"
192192
volumeMounts: []

0 commit comments

Comments
 (0)