59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: home-server-applications
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- name: namespace
|
|
path: applications/00-namespace
|
|
namespace: home-server
|
|
wave: 1
|
|
|
|
- name: replicator
|
|
path: applications/10-replicator
|
|
namespace: home-server
|
|
wave: 2
|
|
|
|
- name: databases
|
|
path: applications/20-databases
|
|
namespace: database
|
|
wave: 2
|
|
|
|
- name: domain-names
|
|
path: applications/30-domain-names
|
|
namespace: home-server
|
|
wave: 2
|
|
|
|
- name: authentik
|
|
path: applications/50-authentik
|
|
namespace: home-server
|
|
wave: 3
|
|
|
|
- name: nextcloud
|
|
path: applications/50-nextcloud
|
|
namespace: home-server
|
|
wave: 3
|
|
|
|
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: '{{namespace}}'
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- SyncWave={{wave}}
|