diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index 214aa2c..eca9a25 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -130,6 +130,10 @@ spec: readinessProbe: {{- . | toYaml | nindent 12 }} {{- end }} + {{- with .Values.synapse.startupProbe }} + startupProbe: + {{- . | toYaml | nindent 12 }} + {{- end }} volumeMounts: - name: config mountPath: /synapse/config diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index c2467f4..adbd178 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -272,6 +272,14 @@ synapse: path: /health port: http + ## Startup probe configuration to use + ## + startupProbe: + failureThreshold: 12 + httpGet: + path: /health + port: http + ## Node selectors to set for the main Synapse pod. ## nodeSelector: {}