home-server/deploy/server.yaml

67 lines
1.6 KiB
YAML
Raw Normal View History

2025-08-13 21:31:46 +10:00
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
2025-08-17 14:18:12 +00:00
name: deploy-hxme
2025-08-13 21:31:46 +10:00
namespace: argocd
spec:
2025-08-13 23:25:08 +10:00
goTemplate: true
2025-08-13 21:31:46 +10:00
generators:
- list:
elements:
# - name: deploy-eso
# path: applications/10-external-secrets
# namespace: home-server
# wave: 1
2025-08-17 14:18:12 +00:00
- name: deploy-replicator
2025-08-16 07:22:56 +00:00
path: applications/10-replicator
namespace: home-server
2025-08-17 14:36:23 +00:00
wave: 2
2025-08-17 14:18:12 +00:00
- name: deploy-dns
2025-08-16 07:22:56 +00:00
path: applications/20-domain-names
namespace: home-server
2025-08-17 14:36:23 +00:00
wave: 3
2025-08-14 00:12:49 +10:00
2025-08-17 14:18:12 +00:00
- name: deploy-databases
2025-08-16 07:22:56 +00:00
path: applications/30-databases
namespace: database
2025-08-17 14:36:23 +00:00
wave: 4
2025-08-17 14:18:12 +00:00
- name: deploy-authentik
2025-08-17 13:40:34 +00:00
path: applications/40-authentik
namespace: home-server
2025-08-17 14:36:23 +00:00
wave: 5
2025-08-20 22:30:50 +10:00
- name: deploy-nextcloud
path: applications/50-nextcloud
namespace: home-server
wave: 6
2025-08-21 22:08:08 +10:00
- name: deploy-general-shit
path: applications/60-general-shit
namespace: home-server
wave: 7
2025-08-13 21:31:46 +10:00
template:
metadata:
2025-08-13 23:17:50 +10:00
name: "{{.name}}"
2025-08-13 21:31:46 +10:00
spec:
project: default
source:
repoURL: 'https://repobase.net/j/home-server.git'
2025-08-13 23:49:41 +10:00
targetRevision: main
2025-08-13 23:17:50 +10:00
path: "{{.path}}"
2025-08-13 21:31:46 +10:00
destination:
server: 'https://kubernetes.default.svc'
2025-08-14 00:08:33 +10:00
namespace: '{{.namespace}}'
2025-08-13 21:31:46 +10:00
syncPolicy:
automated:
2025-08-20 22:20:01 +10:00
enabled: true
2025-08-13 21:31:46 +10:00
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
2025-08-14 00:08:33 +10:00
- SyncWave={{.wave}}