Add probes for Dex server >= 2.28.0

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
Petr Drastil 2021-08-23 18:53:15 +02:00
parent 573a7494d4
commit feab52817f
No known key found for this signature in database
GPG key ID: B147517F4051E6ED
3 changed files with 21 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.0
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 3.13.1
version: 3.14.0
home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Fixed]: Updated README.md for ArgoCD"
- "[Added]: Probe configuration for Dex server"

View file

@ -78,6 +78,12 @@ spec:
containerPort: {{ .Values.dex.containerPortMetrics }}
protocol: TCP
{{- end }}
{{- if .Values.dex.probes.enabled }}
livenessProbe:
{{- toYaml .Values.dex.probes.livenessProbe | nindent 10 }}
readinessProbe:
{{- toYaml .Values.dex.probes.readinessProbe | nindent 10 }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp-dir

View file

@ -259,6 +259,19 @@ dex:
##
podLabels: {}
## Probes for Dex server
## Supported from Dex >= 2.28.0
probes:
enabled: false
livenessProbe:
httpGet:
path: /healthz/live
port: 5558
readinessProbe:
httpGet:
path: /healthz/ready
port: 5558
serviceAccount:
create: true
name: argocd-dex-server