36 lines
855 B
YAML
36 lines
855 B
YAML
|
---
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: ApplicationSet
|
||
|
metadata:
|
||
|
name: home-server-applications
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
generators:
|
||
|
- list:
|
||
|
elements:
|
||
|
- name: namespace
|
||
|
path: applications/00-namespace
|
||
|
- name: replicator
|
||
|
path: applications/10-replicator
|
||
|
- name: databases
|
||
|
path: applications/20-databases
|
||
|
- name: domain-names
|
||
|
path: applications/30-domain-names
|
||
|
template:
|
||
|
metadata:
|
||
|
name: '{{name}}'
|
||
|
spec:
|
||
|
project: default
|
||
|
source:
|
||
|
repoURL: 'https://repobase.net/j/home-server.git'
|
||
|
targetRevision: HEAD
|
||
|
path: '{{path}}'
|
||
|
destination:
|
||
|
server: 'https://kubernetes.default.svc'
|
||
|
namespace: default
|
||
|
syncPolicy:
|
||
|
automated:
|
||
|
prune: true
|
||
|
selfHeal: true
|
||
|
|