Add probes for Dex container

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
Petr Drastil 2021-08-17 17:05:39 +02:00
parent b73566058d
commit b170f61fd9
No known key found for this signature in database
GPG key ID: B147517F4051E6ED

View file

@ -78,6 +78,14 @@ spec:
containerPort: {{ .Values.dex.containerPortMetrics }}
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /healthz/live
port: {{ .Values.dex.containerPortMetrics }}
readinessProbe:
httpGet:
path: /healthz/ready
port: {{ .Values.dex.containerPortMetrics }}
volumeMounts:
- mountPath: /tmp
name: tmp-dir