Add probes for Dex server >= 2.28.0
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
573a7494d4
commit
feab52817f
3 changed files with 21 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue