home-server/deploy/server.yaml

66 lines
1.5 KiB
YAML
Raw Normal View History

2025-08-13 21:31:46 +10:00
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: home-server-applications
namespace: argocd
spec:
generators:
- list:
elements:
2025-08-13 22:09:54 +10:00
- name: namespace
path: applications/00-namespace
namespace: home-server
2025-08-13 22:09:54 +10:00
wave: 1
2025-08-13 22:09:54 +10:00
- name: replicator
path: applications/10-replicator
namespace: home-server
2025-08-13 22:09:54 +10:00
wave: 2
2025-08-13 22:09:54 +10:00
- name: databases
path: applications/20-databases
namespace: database
2025-08-13 22:09:54 +10:00
wave: 2
2025-08-13 22:09:54 +10:00
- name: domain-names
path: applications/30-domain-names
namespace: home-server
2025-08-13 22:09:54 +10:00
wave: 2
2025-08-13 22:09:54 +10:00
- name: database
path: applications/40-database
namespace: database
2025-08-13 22:09:54 +10:00
wave: 3
2025-08-13 22:09:54 +10:00
- name: authentik
path: applications/50-authentik
2025-08-13 22:03:47 +10:00
namespace: home-server
2025-08-13 22:09:54 +10:00
wave: 4
2025-08-13 22:03:47 +10:00
2025-08-13 22:09:54 +10:00
- name: nextcloud
path: applications/50-nextcloud
2025-08-13 22:03:47 +10:00
namespace: home-server
2025-08-13 22:09:54 +10:00
wave: 4
2025-08-13 21:31:46 +10:00
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'
2025-08-13 22:09:54 +10:00
namespace: '{{namespace | default "default"}}'
2025-08-13 21:31:46 +10:00
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
2025-08-13 22:09:54 +10:00
- SyncWave={{wave | default "0"}}
2025-08-13 21:31:46 +10:00