@@ -477,16 +477,34 @@ spec:
477
477
containerPort : {{ .Values.scim.port }}
478
478
protocol : TCP
479
479
{{- end }}
480
+ {{- if .Values.customLivenessProbe }}
481
+ livenessProbe : {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
482
+ {{- else if .Values.livenessProbe.enabled }}
480
483
livenessProbe :
481
484
httpGet :
482
485
path : /health
483
486
scheme : {{ if .Values.api.tls.serveHTTPS }}HTTPS{{ else }}HTTP{{ end }}
484
487
port : {{ if .Values.api.tls.serveHTTPS }}https{{ else }}http{{ end }}
488
+ initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
489
+ periodSeconds : {{ .Values.livenessProbe.periodSeconds }}
490
+ timeoutSeconds : {{ .Values.livenessProbe.timeoutSeconds }}
491
+ successThreshold : {{ .Values.livenessProbe.successThreshold }}
492
+ failureThreshold : {{ .Values.livenessProbe.failureThreshold }}
493
+ {{- end }}
494
+ {{- if .Values.customReadinessProbe }}
495
+ readinessProbe : {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
496
+ {{- else if .Values.readinessProbe.enabled }}
485
497
readinessProbe :
486
498
httpGet :
487
499
path : /health
488
500
scheme : {{ if .Values.api.tls.serveHTTPS }}HTTPS{{ else }}HTTP{{ end }}
489
501
port : {{ if .Values.api.tls.serveHTTPS }}https{{ else }}http{{ end }}
502
+ initialDelaySeconds : {{ .Values.readinessProbe.initialDelaySeconds }}
503
+ periodSeconds : {{ .Values.readinessProbe.periodSeconds }}
504
+ timeoutSeconds : {{ .Values.readinessProbe.timeoutSeconds }}
505
+ successThreshold : {{ .Values.readinessProbe.successThreshold }}
506
+ failureThreshold : {{ .Values.readinessProbe.failureThreshold }}
507
+ {{- end }}
490
508
resources :
491
509
{{- toYaml .Values.resources | nindent 12 }}
492
510
volumeMounts :
0 commit comments