@@ -46,22 +46,39 @@ spec:
4646 {{- with .Values.electric.extraEnvVars }}
4747 {{- toYaml . | nindent 12 }}
4848 {{- end }}
49+ {{- if .Values.electric.livenessProbe.enabled }}
4950 livenessProbe :
5051 httpGet :
5152 path : /v1/health
5253 port : http
53- initialDelaySeconds : 10
54- periodSeconds : 10
55- timeoutSeconds : 5
56- failureThreshold : 5
54+ initialDelaySeconds : {{ .Values.electric.livenessProbe.initialDelaySeconds }}
55+ periodSeconds : {{ .Values.electric.livenessProbe.periodSeconds }}
56+ timeoutSeconds : {{ .Values.electric.livenessProbe.timeoutSeconds }}
57+ failureThreshold : {{ .Values.electric.livenessProbe.failureThreshold }}
58+ successThreshold : {{ .Values.electric.livenessProbe.successThreshold }}
59+ {{- end }}
60+ {{- if .Values.electric.readinessProbe.enabled }}
5761 readinessProbe :
5862 httpGet :
5963 path : /v1/health
6064 port : http
61- initialDelaySeconds : 10
62- periodSeconds : 10
63- timeoutSeconds : 5
64- failureThreshold : 5
65+ initialDelaySeconds : {{ .Values.electric.readinessProbe.initialDelaySeconds }}
66+ periodSeconds : {{ .Values.electric.readinessProbe.periodSeconds }}
67+ timeoutSeconds : {{ .Values.electric.readinessProbe.timeoutSeconds }}
68+ failureThreshold : {{ .Values.electric.readinessProbe.failureThreshold }}
69+ successThreshold : {{ .Values.electric.readinessProbe.successThreshold }}
70+ {{- end }}
71+ {{- if .Values.electric.startupProbe.enabled }}
72+ startupProbe :
73+ httpGet :
74+ path : /v1/health
75+ port : http
76+ initialDelaySeconds : {{ .Values.electric.startupProbe.initialDelaySeconds }}
77+ periodSeconds : {{ .Values.electric.startupProbe.periodSeconds }}
78+ timeoutSeconds : {{ .Values.electric.startupProbe.timeoutSeconds }}
79+ failureThreshold : {{ .Values.electric.startupProbe.failureThreshold }}
80+ successThreshold : {{ .Values.electric.startupProbe.successThreshold }}
81+ {{- end }}
6582 resources :
6683 {{- toYaml .Values.electric.resources | nindent 12 }}
6784---
0 commit comments