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:
parent
eb102d27aa
commit
31768175b9
8 changed files with 108 additions and 7 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue