blob: 4181beb1f8c7fb19237f63248b26ada973026cfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{- define "helpers.livenessProbe" -}}
livenessProbe:
httpGet:
path: {{- index .Values.livenessProbe.path|indent 2}}
port: {{ index .Values.containerPort }}
scheme: {{- index .Values.livenessProbe.scheme| indent 2}}
{{- if eq .Values.global.security.aaf.enabled true }}
httpHeaders:
- name: Authorization
value: {{ index .Values.global.aaf.auth.header }}
{{- end }}
initialDelaySeconds: {{ index .Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{ index .Values.livenessProbe.periodSeconds}}
timeoutSeconds: {{ index .Values.livenessProbe.timeoutSeconds}}
successThreshold: {{ index .Values.livenessProbe.successThreshold}}
failureThreshold: {{ index .Values.livenessProbe.failureThreshold}}
{{- end -}}
|