Allow configuring Dex's init image resources separately
Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>
This commit is contained in:
parent
047ba6b24d
commit
e6c255ec85
4 changed files with 13 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.7
|
|||
kubeVersion: ">=1.23.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 5.38.1
|
||||
version: 5.39.0
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -27,4 +27,4 @@ annotations:
|
|||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: Adding the option to set `annotations` for `Certificate` resources
|
||||
description: Allow configuring Dex's init image resources separately
|
||||
|
|
|
@ -864,6 +864,7 @@ server:
|
|||
| dex.initContainers | list | `[]` | Init containers to add to the dex pod |
|
||||
| dex.initImage.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Argo CD init image imagePullPolicy |
|
||||
| dex.initImage.repository | string | `""` (defaults to global.image.repository) | Argo CD init image repository |
|
||||
| dex.initImage.resources | object | `{}` (defaults to dex.resources) | Argo CD init image resources |
|
||||
| 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.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||
|
|
|
@ -149,7 +149,7 @@ spec:
|
|||
- mountPath: /tmp
|
||||
name: dexconfig
|
||||
resources:
|
||||
{{- toYaml .Values.dex.resources | nindent 10 }}
|
||||
{{- toYaml (default .Values.dex.resources .Values.dex.initImage.resources) | nindent 10 }}
|
||||
{{- with .Values.dex.containerSecurityContext }}
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
|
|
|
@ -951,6 +951,15 @@ dex:
|
|||
# -- Argo CD init image imagePullPolicy
|
||||
# @default -- `""` (defaults to global.image.imagePullPolicy)
|
||||
imagePullPolicy: ""
|
||||
# -- Argo CD init image resources
|
||||
# @default -- `{}` (defaults to dex.resources)
|
||||
resources: {}
|
||||
# requests:
|
||||
# cpu: 5m
|
||||
# memory: 96Mi
|
||||
# limits:
|
||||
# cpu: 10m
|
||||
# memory: 144Mi
|
||||
|
||||
# -- Environment variables to pass to the Dex server
|
||||
env: []
|
||||
|
|
Loading…
Reference in a new issue