fix(argo-cd): Revert initContainers copyUtil param (#1063)

* fix(argo-cd): Revert initContainers copyUtil param

Signed-off-by: Marko Bevc <marko@scalefactory.com>

* Use correct keyword in annotations

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marko Bevc 2021-12-18 22:08:57 +00:00 committed by GitHub
parent 0dc0b845a3
commit e6a0802f4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 10 deletions

View file

@ -183,9 +183,7 @@ spec:
name: var-files
- emptyDir: {}
name: plugins
{{- if or .Values.repoServer.initContainers .Values.repoServer.enableCopyutilInitContainer }}
initContainers:
{{- if .Values.repoServer.enableCopyutilInitContainer }}
- command:
- cp
- -n
@ -196,11 +194,9 @@ spec:
volumeMounts:
- mountPath: /var/run/argocd
name: var-files
{{- end }}
{{- if .Values.repoServer.initContainers }}
{{- toYaml .Values.repoServer.initContainers | nindent 6 }}
{{- end }}
{{- end }}
{{- if .Values.repoServer.priorityClassName }}
priorityClassName: {{ .Values.repoServer.priorityClassName }}
{{- end }}