fix: volumes and volumeMounts configurations are properly generated for the application controller (#723)

Signed-off-by: marcozov <marco.zoveralli@gmail.com>
This commit is contained in:
marcozov 2021-05-09 11:03:13 +02:00
parent 331d3445d2
commit 8c01491945

View file

@ -95,8 +95,8 @@ spec:
volumeMounts:
- mountPath: /app/config/controller/tls
name: argocd-repo-server-tls
{{- if .Values.controller.volumeMounts }}
{{- toYaml .Values.controller.volumeMounts | nindent 10}}
{{- with .Values.controller.volumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.controller.resources | nindent 10 }}
@ -129,8 +129,8 @@ spec:
path: ca.crt
optional: true
secretName: argocd-repo-server-tls
{{- if .Values.controller.volumes }}
{{- toYaml .Values.controller.volumes | nindent 8 }}
{{- with .Values.controller.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.controller.priorityClassName }}
priorityClassName: {{ .Values.controller.priorityClassName }}