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:
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

@ -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 }}