feat(argocd-apps): multiple sources for Application and ApplicationSet (#1831)

* feat(argocd-apps): multiple sources for application and applicationset

Signed-off-by: toyamagu <toyamagu2021@gmail.com>

* fix typo

Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>

---------

Signed-off-by: toyamagu <toyamagu2021@gmail.com>
Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
toyamagu 2023-02-10 07:43:38 +09:00 committed by GitHub
parent eb102d27aa
commit 31768175b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 108 additions and 7 deletions

View file

@ -23,8 +23,14 @@ metadata:
{{- end }}
spec:
project: {{ tpl .project $ }}
{{- with .source }}
source:
{{- toYaml .source | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .sources }}
sources:
{{- toYaml . | nindent 4 }}
{{- end }}
destination:
{{- toYaml .destination | nindent 4 }}
{{- with .syncPolicy }}

View file

@ -52,8 +52,14 @@ spec:
{{- with .spec }}
spec:
project: {{ tpl .project $ }}
{{- with .source }}
source:
{{- toYaml .source | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .sources }}
sources:
{{- toYaml . | nindent 8 }}
{{- end }}
destination:
{{- toYaml .destination | nindent 8 }}
{{- with .syncPolicy }}