mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix(helm): use /healthz for liveness and readiness probes instead of /api/v2/buildinfo (#8035)
This commit is contained in:
@ -126,12 +126,12 @@ spec:
|
||||
securityContext: {{ toYaml .Values.coder.securityContext | nindent 12 }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
{{- include "coder.volumeMounts" . | nindent 10 }}
|
||||
|
4
helm/tests/testdata/default_values.golden
vendored
4
helm/tests/testdata/default_values.golden
vendored
@ -173,12 +173,12 @@ spec:
|
||||
type: RuntimeDefault
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
volumeMounts: []
|
||||
|
@ -179,12 +179,12 @@ spec:
|
||||
type: RuntimeDefault
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
volumeMounts: []
|
||||
|
4
helm/tests/testdata/sa.golden
vendored
4
helm/tests/testdata/sa.golden
vendored
@ -173,12 +173,12 @@ spec:
|
||||
type: RuntimeDefault
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
volumeMounts: []
|
||||
|
4
helm/tests/testdata/tls.golden
vendored
4
helm/tests/testdata/tls.golden
vendored
@ -188,12 +188,12 @@ spec:
|
||||
type: RuntimeDefault
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
volumeMounts:
|
||||
|
4
helm/tests/testdata/workspace_proxy.golden
vendored
4
helm/tests/testdata/workspace_proxy.golden
vendored
@ -181,12 +181,12 @@ spec:
|
||||
type: RuntimeDefault
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v2/buildinfo
|
||||
path: /healthz
|
||||
port: "http"
|
||||
scheme: "HTTP"
|
||||
volumeMounts: []
|
||||
|
Reference in New Issue
Block a user