Skip to content

Commit 0fd47d2

Browse files
authored
Merge branch 'main' into argo-events-script
2 parents e50d6ad + b7a248b commit 0fd47d2

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

charts/argo-cd/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v3.3.4
33
kubeVersion: ">=1.25.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 9.4.13
6+
version: 9.4.14
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -26,5 +26,5 @@ annotations:
2626
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
2727
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828
artifacthub.io/changes: |
29-
- kind: changed
30-
description: Rename crd-project.yaml to crd-appproject.yaml to match upstream. Contents not changed.
29+
- kind: fixed
30+
description: Omit runAsUser for dex when deployed on OpenShift

charts/argo-cd/templates/dex/deployment.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@ spec:
156156
{{- toYaml .Values.dex.resources | nindent 10 }}
157157
{{- with .Values.dex.containerSecurityContext }}
158158
securityContext:
159-
{{- toYaml . | nindent 10 }}
159+
{{- if $.Values.openshift.enabled }}
160+
{{- omit . "runAsUser" | toYaml | nindent 10 }}
161+
{{- else }}
162+
{{- toYaml . | nindent 10 }}
163+
{{- end }}
160164
{{- end }}
161165
volumeMounts:
162166
{{- with (concat .Values.global.extraVolumeMounts .Values.dex.volumeMounts) }}
@@ -189,7 +193,11 @@ spec:
189193
{{- toYaml (default .Values.dex.resources .Values.dex.initImage.resources) | nindent 10 }}
190194
{{- with .Values.dex.containerSecurityContext }}
191195
securityContext:
192-
{{- toYaml . | nindent 10 }}
196+
{{- if $.Values.openshift.enabled }}
197+
{{- omit . "runAsUser" | toYaml | nindent 10 }}
198+
{{- else }}
199+
{{- toYaml . | nindent 10 }}
200+
{{- end }}
193201
{{- end }}
194202
{{- with .Values.dex.initContainers }}
195203
{{- tpl (toYaml .) $ | nindent 6 }}

0 commit comments

Comments
 (0)