fix(argo-cd): Adding securityContext to copyutil container in repo-server (#1149)

Signed-off-by: Eric Durand <eric_p_durand@yahoo.com>
This commit is contained in:
ericpdurand 2022-02-26 21:06:59 +01:00 committed by GitHub
parent 4538e57aae
commit 7248992d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.2.5 appVersion: v2.2.5
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.33.7 version: 3.33.8
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
keywords: keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: dex-server extraArgs" - "[Fixed]: Added repo-server copyutil securityContext"

View file

@ -203,6 +203,9 @@ spec:
name: copyutil name: copyutil
resources: resources:
{{- toYaml .Values.repoServer.copyutil.resources | nindent 10 }} {{- toYaml .Values.repoServer.copyutil.resources | nindent 10 }}
{{- if .Values.repoServer.containerSecurityContext }}
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
{{- end }}
volumeMounts: volumeMounts:
- mountPath: /var/run/argocd - mountPath: /var/run/argocd
name: var-files name: var-files