76 lines
1.9 KiB
YAML
76 lines
1.9 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: deploy-hxme
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
generators:
|
|
- list:
|
|
elements:
|
|
# - name: deploy-eso
|
|
# path: applications/10-external-secrets
|
|
# namespace: home-server
|
|
# wave: 1
|
|
|
|
- name: deploy-replicator
|
|
path: applications/10-replicator
|
|
namespace: home-server
|
|
wave: 2
|
|
|
|
- name: deploy-dns
|
|
path: applications/20-domain-names
|
|
namespace: home-server
|
|
wave: 3
|
|
|
|
- name: deploy-databases
|
|
path: applications/30-databases
|
|
namespace: database
|
|
wave: 4
|
|
|
|
- name: deploy-authentik
|
|
path: applications/40-authentik
|
|
namespace: home-server
|
|
wave: 5
|
|
|
|
- name: deploy-nextcloud
|
|
path: applications/50-nextcloud
|
|
namespace: home-server
|
|
wave: 6
|
|
|
|
- name: deploy-general-shit
|
|
path: applications/60-general-shit
|
|
namespace: home-server
|
|
wave: 7
|
|
|
|
- name: deploy-monitoring
|
|
path: applications/70-monitoring
|
|
namespace: home-server
|
|
wave: 8
|
|
|
|
- name: deploy-private
|
|
path: applications/80-private
|
|
namespace: home-server-private
|
|
wave: 9
|
|
|
|
template:
|
|
metadata:
|
|
name: "{{.name}}"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: 'https://repobase.net/j/home-server.git'
|
|
targetRevision: main
|
|
path: "{{.path}}"
|
|
destination:
|
|
server: 'https://kubernetes.default.svc'
|
|
namespace: '{{.namespace}}'
|
|
syncPolicy:
|
|
automated:
|
|
enabled: true
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- SyncWave={{.wave}}
|