feat(argo-cd): Allow modification of path and port for dex liveness and readiness probes (#2542)
feat(argo-cd): allow defining custom dex probes Signed-off-by: Florian Boulanger <fboulanger51@gmail.com> Signed-off-by: Petr Drastil <petr.drastil@gmail.com> Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
2f91378422
commit
30836b841c
4 changed files with 19 additions and 7 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.10.1
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 6.2.5
|
version: 6.3.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -26,5 +26,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: changed
|
||||||
description: Dedicated gRPC ingress could be used with GKE ingress implementation
|
description: Allow modification of path and port for dex liveness and readiness probes
|
||||||
|
|
|
@ -1077,6 +1077,8 @@ NAME: my-release
|
||||||
| dex.initImage.tag | string | `""` (defaults to global.image.tag) | Argo CD init image tag |
|
| dex.initImage.tag | string | `""` (defaults to global.image.tag) | Argo CD init image tag |
|
||||||
| dex.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Dex >= 2.28.0 |
|
| dex.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Dex >= 2.28.0 |
|
||||||
| dex.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| dex.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| dex.livenessProbe.httpPath | string | `"/healthz/live"` | Http path to use for the liveness probe |
|
||||||
|
| dex.livenessProbe.httpPort | string | `"metrics"` | Http port to use for the liveness probe |
|
||||||
| dex.livenessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| dex.livenessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
| dex.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| dex.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
| dex.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| dex.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
|
@ -1109,6 +1111,8 @@ NAME: my-release
|
||||||
| dex.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the dex pods |
|
| dex.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the dex pods |
|
||||||
| dex.readinessProbe.enabled | bool | `false` | Enable Kubernetes readiness probe for Dex >= 2.28.0 |
|
| dex.readinessProbe.enabled | bool | `false` | Enable Kubernetes readiness probe for Dex >= 2.28.0 |
|
||||||
| dex.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| dex.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| dex.readinessProbe.httpPath | string | `"/healthz/ready"` | Http path to use for the readiness probe |
|
||||||
|
| dex.readinessProbe.httpPort | string | `"metrics"` | Http port to use for the readiness probe |
|
||||||
| dex.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| dex.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
| dex.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| dex.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
| dex.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| dex.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
|
|
|
@ -99,8 +99,8 @@ spec:
|
||||||
{{- if .Values.dex.livenessProbe.enabled }}
|
{{- if .Values.dex.livenessProbe.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz/live
|
path: {{ .Values.dex.livenessProbe.httpPort }}
|
||||||
port: metrics
|
port: {{ .Values.dex.livenessProbe.httpPath }}
|
||||||
initialDelaySeconds: {{ .Values.dex.livenessProbe.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.dex.livenessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.dex.livenessProbe.periodSeconds }}
|
periodSeconds: {{ .Values.dex.livenessProbe.periodSeconds }}
|
||||||
timeoutSeconds: {{ .Values.dex.livenessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.dex.livenessProbe.timeoutSeconds }}
|
||||||
|
@ -110,8 +110,8 @@ spec:
|
||||||
{{- if .Values.dex.readinessProbe.enabled }}
|
{{- if .Values.dex.readinessProbe.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz/ready
|
path: {{ .Values.dex.readinessProbe.httpPort }}
|
||||||
port: metrics
|
port: {{ .Values.dex.readinessProbe.httpPath }}
|
||||||
initialDelaySeconds: {{ .Values.dex.readinessProbe.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.dex.readinessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.dex.readinessProbe.periodSeconds }}
|
periodSeconds: {{ .Values.dex.readinessProbe.periodSeconds }}
|
||||||
timeoutSeconds: {{ .Values.dex.readinessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.dex.readinessProbe.timeoutSeconds }}
|
||||||
|
|
|
@ -1039,6 +1039,10 @@ dex:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
# -- Enable Kubernetes liveness probe for Dex >= 2.28.0
|
# -- Enable Kubernetes liveness probe for Dex >= 2.28.0
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# -- Http path to use for the liveness probe
|
||||||
|
httpPath: /healthz/live
|
||||||
|
# -- Http port to use for the liveness probe
|
||||||
|
httpPort: metrics
|
||||||
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
# -- Number of seconds after the container has started before [probe] is initiated
|
# -- Number of seconds after the container has started before [probe] is initiated
|
||||||
|
@ -1053,6 +1057,10 @@ dex:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
# -- Enable Kubernetes readiness probe for Dex >= 2.28.0
|
# -- Enable Kubernetes readiness probe for Dex >= 2.28.0
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# -- Http path to use for the readiness probe
|
||||||
|
httpPath: /healthz/ready
|
||||||
|
# -- Http port to use for the readiness probe
|
||||||
|
httpPort: metrics
|
||||||
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
# -- Number of seconds after the container has started before [probe] is initiated
|
# -- Number of seconds after the container has started before [probe] is initiated
|
||||||
|
|
Loading…
Reference in a new issue