Add probes for Dex container
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
b73566058d
commit
b170f61fd9
1 changed files with 8 additions and 0 deletions
|
@ -78,6 +78,14 @@ spec:
|
||||||
containerPort: {{ .Values.dex.containerPortMetrics }}
|
containerPort: {{ .Values.dex.containerPortMetrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz/live
|
||||||
|
port: {{ .Values.dex.containerPortMetrics }}
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz/ready
|
||||||
|
port: {{ .Values.dex.containerPortMetrics }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: tmp-dir
|
name: tmp-dir
|
||||||
|
|
Loading…
Reference in a new issue