Skip to content

Commit 70795a5

Browse files
committed
Ensure HAProxy has a startupProbe when Synapse isn't enabled
1 parent d14dcf5 commit 70795a5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

charts/matrix-stack/templates/haproxy/deployment.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,17 @@ spec:
111111
name: synapse-ready
112112
protocol: TCP
113113
{{- end }}
114-
{{- if $.Values.synapse.enabled }}
115114
startupProbe:
116115
httpGet:
116+
{{- if $.Values.synapse.enabled }}
117117
path: /synapse_ready
118118
port: synapse-ready
119+
{{- else }}
120+
path: /haproxy_test
121+
port: haproxy-metrics
122+
{{- end }}
119123
periodSeconds: 2
120124
failureThreshold: 150
121-
{{- end }}
122125
livenessProbe:
123126
httpGet:
124127
path: /haproxy_test

newsfragments/437.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ensure HAProxy has a startupProbe when Synapse isn't enabled.

0 commit comments

Comments
 (0)