{{- 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 $ }} source: {{- toYaml .source | nindent 4 }} 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 }}