set up repo with first app
This commit is contained in:
parent
2d416d2482
commit
a2f3587ce0
10 changed files with 276 additions and 0 deletions
24
apps-root-config/bootstrap/templates/argo-application.yaml
Normal file
24
apps-root-config/bootstrap/templates/argo-application.yaml
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue