1
0
Fork 0

set up repo with first app

This commit is contained in:
Seraphim Strub 2025-01-11 20:58:54 +00:00
parent 2d416d2482
commit a2f3587ce0
10 changed files with 276 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{{- range .Values.bootstrap -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}-apps
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
spec:
destination:
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
server: https://kubernetes.default.svc
project: default
source:
helm:
valueFiles:
- "{{ .name }}.yaml"
path: apps-root-config/applications
repoURL: {{ $.Values.repository }}
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
{{ end }}