diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 83c499ea..965386e8 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.2.5 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 3.33.6 +version: 3.33.7 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Fixed]: Fix typo of policy.csv comment in values" + - "[Added]: dex-server extraArgs" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index d4550826..e62b00ee 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -520,6 +520,7 @@ NAME: my-release | dex.enabled | bool | `true` | Enable dex | | dex.env | list | `[]` | Environment variables to pass to the Dex server | | dex.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the Dex server | +| dex.extraArgs | list | `[]` | Additional command line arguments to pass to the Dex server | | dex.extraContainers | list | `[]` | Additional containers to be added to the dex pod | | dex.extraVolumeMounts | list | `[]` | Extra volumeMounts to the dex pod | | dex.extraVolumes | list | `[]` | Extra volumes to the dex pod | diff --git a/charts/argo-cd/templates/dex/deployment.yaml b/charts/argo-cd/templates/dex/deployment.yaml index 975ece7f..1707f6fe 100755 --- a/charts/argo-cd/templates/dex/deployment.yaml +++ b/charts/argo-cd/templates/dex/deployment.yaml @@ -56,6 +56,9 @@ spec: command: - /shared/argocd-dex - rundex + {{- with .Values.dex.extraArgs }} + {{- . | toYaml | nindent 8 }} + {{- end }} {{- if .Values.dex.containerSecurityContext }} securityContext: {{- toYaml .Values.dex.containerSecurityContext | nindent 10 }} {{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 14d17507..4f9a2c62 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -363,6 +363,9 @@ dex: # -- Dex name name: dex-server + # -- Additional command line arguments to pass to the Dex server + extraArgs: [] + metrics: # -- Deploy metrics service enabled: false