fix(argo-cd): Use nodeSelector global property as default on ApplicationSet (#1907)

fix(argo-cd): Use nodeSelector global property as default value on ApplicationSet Deployment according to the documentation.

Signed-off-by: Julien Aubert <julien.aubert@malt.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
main argo-cd-5.26.2
Julien Aubert 2023-03-15 14:55:32 +01:00 committed by GitHub
parent fca26f9e95
commit 21f4ac8d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ appVersion: v2.6.5
kubeVersion: ">=1.22.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.26.1
version: 5.26.2
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -24,4 +24,4 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo CD v2.6.5
description: Use global.nodeSelector value as default value for nodeSelector on ApplicationSet

View File

@ -205,7 +205,7 @@ spec:
affinity:
{{- trim . | nindent 8 }}
{{- end }}
{{- with .Values.applicationSet.nodeSelector }}
{{- with .Values.applicationSet.nodeSelector | default .Values.global.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}