* 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>
48 lines
1,022 B
YAML
48 lines
1,022 B
YAML
{{- range .Values.applications }}
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
{{- with .additionalAnnotations }}
|
|
annotations:
|
|
{{- range $key, $value := . }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- with .additionalLabels }}
|
|
labels:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
name: {{ .name }}
|
|
{{- with .namespace }}
|
|
namespace: {{ . }}
|
|
{{- end }}
|
|
{{- with .finalizers }}
|
|
finalizers:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
project: {{ tpl .project $ }}
|
|
{{- with .source }}
|
|
source:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .sources }}
|
|
sources:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
destination:
|
|
{{- toYaml .destination | nindent 4 }}
|
|
{{- with .syncPolicy }}
|
|
syncPolicy:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .ignoreDifferences }}
|
|
ignoreDifferences:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .info }}
|
|
info:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|