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 appVersion: 2.1.0
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.13.1 version: 3.14.0
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords: keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | 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 }} containerPort: {{ .Values.dex.containerPortMetrics }}
protocol: TCP protocol: TCP
{{- end }} {{- end }}
{{- if .Values.dex.probes.enabled }}
livenessProbe:
{{- toYaml .Values.dex.probes.livenessProbe | nindent 10 }}
readinessProbe:
{{- toYaml .Values.dex.probes.readinessProbe | nindent 10 }}
{{- end }}
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-dir name: tmp-dir

View file

@ -259,6 +259,19 @@ dex:
## ##
podLabels: {} 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: serviceAccount:
create: true create: true
name: argocd-dex-server name: argocd-dex-server