fix: add priorityClassName to argo-cd deployments pod specs (#377)

* add priorityClassName to argo-cd deployments pod specs

Signed-off-by: Ashwin Chandrasekar <ashwin.chandrasekar@lexisnexis.com>

* Fix priorityClassName templating in redis deployment

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
This commit is contained in:
Ashwin Chandrasekar 2020-07-11 13:00:29 -04:00 committed by GitHub
parent 2b9193ac69
commit f6266c9e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.6.1"
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 2.5.0
version: 2.5.1
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

View file

@ -121,3 +121,6 @@ spec:
volumes:
{{- toYaml .Values.controller.volumes | nindent 8 }}
{{- end }}
{{- if .Values.controller.priorityClassName }}
priorityClassName: {{ .Values.controller.priorityClassName }}
{{- end }}

View file

@ -152,3 +152,6 @@ spec:
initContainers:
{{- toYaml .Values.repoServer.initContainers | nindent 6 }}
{{- end }}
{{- if .Values.repoServer.priorityClassName }}
priorityClassName: {{ .Values.repoServer.priorityClassName }}
{{- end }}

View file

@ -151,3 +151,6 @@ spec:
name: argocd-tls-certs-cm
name: tls-certs
{{- end }}
{{- if .Values.server.priorityClassName }}
priorityClassName: {{ .Values.server.priorityClassName }}
{{- end }}

View file

@ -103,4 +103,7 @@ spec:
volumes:
{{- toYaml .Values.dex.volumes | nindent 8}}
{{- end }}
{{- if .Values.dex.priorityClassName }}
priorityClassName: {{ .Values.dex.priorityClassName }}
{{- end }}
{{- end }}

View file

@ -85,4 +85,7 @@ spec:
volumes:
{{- toYaml .Values.redis.volumes | nindent 8}}
{{- end }}
{{- if .Values.redis.priorityClassName }}
priorityClassName: {{ .Values.redis.priorityClassName }}
{{- end }}
{{- end }}