Skip to content

Commit 69493d0

Browse files
committed
helm: Healthcheck the health-check endpoint.
This works around 404s when a realm has not yet been created. We make use of the new TRUST_GATEWAY_IP, since the healthcheck accesses come from the local network gateway. Fixes: #496.
1 parent 4e261e3 commit 69493d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

kubernetes/chart/zulip/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
{{- if .Values.livenessProbe.enabled }}
6969
livenessProbe:
7070
httpGet:
71-
path: /
71+
path: /health
7272
port: http
7373
httpHeaders:
7474
- name: Host
@@ -82,7 +82,7 @@ spec:
8282
{{- if .Values.startupProbe.enabled }}
8383
startupProbe:
8484
httpGet:
85-
path: /
85+
path: /health
8686
port: http
8787
httpHeaders:
8888
- name: Host

kubernetes/chart/zulip/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ zulip:
131131
## certificates are managed by the Kubernetes cluster, so by
132132
## default it's disabled inside the container.
133133
DISABLE_HTTPS: true
134+
TRUST_GATEWAY_IP: true
134135
## Set SSL certificate generation to self-signed because
135136
## Kubernetes manages the client-facing SSL certs.
136137
SSL_CERTIFICATE_GENERATION: self-signed

0 commit comments

Comments
 (0)