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>
This commit is contained in:
parent
fca26f9e95
commit
21f4ac8d53
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.5
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.26.1
|
version: 5.26.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -24,4 +24,4 @@ dependencies:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgrade Argo CD v2.6.5
|
description: Use global.nodeSelector value as default value for nodeSelector on ApplicationSet
|
||||||
|
|
|
@ -205,7 +205,7 @@ spec:
|
||||||
affinity:
|
affinity:
|
||||||
{{- trim . | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.nodeSelector }}
|
{{- with .Values.applicationSet.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue