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

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