From b170f61fd9ee6482fbd9796a38c968a75294a760 Mon Sep 17 00:00:00 2001 From: Petr Drastil Date: Tue, 17 Aug 2021 17:05:39 +0200 Subject: [PATCH] Add probes for Dex container Signed-off-by: Petr Drastil --- charts/argo-cd/templates/dex/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/charts/argo-cd/templates/dex/deployment.yaml b/charts/argo-cd/templates/dex/deployment.yaml index 557140ce..cf9ad240 100755 --- a/charts/argo-cd/templates/dex/deployment.yaml +++ b/charts/argo-cd/templates/dex/deployment.yaml @@ -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