File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,9 +123,13 @@ spec:
123123 protocol : TCP
124124 {{- if ne $service "worker" }}
125125 livenessProbe :
126- initialDelaySeconds : 150
127- tcpSocket :
128- port : rpc
126+ {{- if $serviceValues.livenessProbe }}
127+ {{- toYaml $serviceValues.livenessProbe | nindent 12}}
128+ {{- else }}
129+ initialDelaySeconds : 150
130+ tcpSocket :
131+ port : rpc
132+ {{- end }}
129133 {{- end }}
130134 volumeMounts :
131135 - name : config
Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ server:
236236 deploymentAnnotations : {}
237237 podAnnotations : {}
238238 podLabels : {}
239+ livenessProbe : {}
239240 resources : {}
240241 nodeSelector : {}
241242 tolerations : []
@@ -289,6 +290,7 @@ server:
289290 deploymentAnnotations : {}
290291 podAnnotations : {}
291292 podLabels : {}
293+ livenessProbe : {}
292294 resources : {}
293295 nodeSelector : {}
294296 tolerations : []
@@ -314,6 +316,7 @@ server:
314316 deploymentAnnotations : {}
315317 podAnnotations : {}
316318 podLabels : {}
319+ livenessProbe : {}
317320 resources : {}
318321 nodeSelector : {}
319322 tolerations : []
You can’t perform that action at this time.
0 commit comments