2022-08-22 12:32:07 +00:00
|
|
|
{{- 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 $ }}
|
2023-02-09 22:43:38 +00:00
|
|
|
{{- with .source }}
|
2022-08-22 12:32:07 +00:00
|
|
|
source:
|
2023-02-09 22:43:38 +00:00
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .sources }}
|
|
|
|
sources:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2022-08-22 12:32:07 +00:00
|
|
|
destination:
|
|
|
|
{{- toYaml .destination | nindent 4 }}
|
|
|
|
{{- with .syncPolicy }}
|
|
|
|
syncPolicy:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2023-03-02 14:56:41 +00:00
|
|
|
{{- with .revisionHistoryLimit }}
|
|
|
|
revisionHistoryLimit: {{ . }}
|
|
|
|
{{- end }}
|
2022-08-22 12:32:07 +00:00
|
|
|
{{- with .ignoreDifferences }}
|
|
|
|
ignoreDifferences:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .info }}
|
|
|
|
info:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|