forked from argoproj/argo-helm
fix(argo-cd): properly generate volumes and volumeMounts for application controller (#724)
* fix: volumes and volumeMounts configurations are properly generated for the application controller (#723) Signed-off-by: marcozov <marco.zoveralli@gmail.com> * fix: Chart.yaml bump (#723) Signed-off-by: marcozov <marco.zoveralli@gmail.com> * fix: use consistent indentation Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>main argo-cd-3.3.2
parent
17ad65e635
commit
7c94b7af7e
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: 2.0.1
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 3.3.1
|
||||
version: 3.3.2
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||
keywords:
|
||||
|
|
|
@ -95,9 +95,9 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /app/config/controller/tls
|
||||
name: argocd-repo-server-tls
|
||||
{{- if .Values.controller.volumeMounts }}
|
||||
{{- toYaml .Values.controller.volumeMounts | nindent 10}}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.volumeMounts }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.controller.resources | nindent 10 }}
|
||||
{{- if .Values.controller.nodeSelector }}
|
||||
|
@ -129,9 +129,9 @@ spec:
|
|||
path: ca.crt
|
||||
optional: true
|
||||
secretName: argocd-repo-server-tls
|
||||
{{- if .Values.controller.volumes }}
|
||||
{{- toYaml .Values.controller.volumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.volumes }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.priorityClassName }}
|
||||
priorityClassName: {{ .Values.controller.priorityClassName }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue