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:
parent
331d3445d2
commit
8c01491945
1 changed files with 4 additions and 4 deletions
|
@ -95,8 +95,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config/controller/tls
|
- mountPath: /app/config/controller/tls
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
{{- if .Values.controller.volumeMounts }}
|
{{- with .Values.controller.volumeMounts }}
|
||||||
{{- toYaml .Values.controller.volumeMounts | nindent 10}}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 10 }}
|
{{- toYaml .Values.controller.resources | nindent 10 }}
|
||||||
|
@ -129,8 +129,8 @@ spec:
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
optional: true
|
optional: true
|
||||||
secretName: argocd-repo-server-tls
|
secretName: argocd-repo-server-tls
|
||||||
{{- if .Values.controller.volumes }}
|
{{- with .Values.controller.volumes }}
|
||||||
{{- toYaml .Values.controller.volumes | nindent 8 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.priorityClassName }}
|
{{- if .Values.controller.priorityClassName }}
|
||||||
priorityClassName: {{ .Values.controller.priorityClassName }}
|
priorityClassName: {{ .Values.controller.priorityClassName }}
|
||||||
|
|
Loading…
Reference in a new issue