mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
26 lines
621 B
YAML
26 lines
621 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:
|
|
path: argocd/{{ .name }}/{{ $.Values.overall.environment }}
|
|
repoURL: https://git.2martens.de/2martens/cloud-configuration/
|
|
targetRevision: {{ .targetRevision }}
|
|
helm:
|
|
valueFiles:
|
|
- values.yaml
|
|
{{- end }}
|