mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
28 lines
596 B
YAML
28 lines
596 B
YAML
{{- range .Values.applications }}
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: {{ .name }}
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
destination:
|
|
namespace: {{ .namespace }}
|
|
server: {{ $.Values.overall.destinationServer }}
|
|
project: {{ .project }}
|
|
source:
|
|
repoURL: {{ .repoURL }}
|
|
targetRevision: {{ .targetRevision }}
|
|
chart: {{ .name }}
|
|
{{- if .values }}
|
|
helm:
|
|
values: |
|
|
{{- toYaml .values | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|