home-server/deploy/server.yaml

57 lines
1.3 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:
2025-08-22 22:12:13 +10:00
- name: deploy-domain-names
path: applications/domain-names
namespace: home-server
wave: 1
2025-08-17 14:18:12 +00:00
- name: deploy-replicator
2025-08-22 22:12:13 +10:00
path: applications/replicator
2025-08-16 07:22:56 +00:00
namespace: home-server
2025-08-17 14:36:23 +00:00
wave: 2
2025-08-17 14:18:12 +00:00
- name: deploy-databases
2025-08-22 22:12:13 +10:00
path: applications/databases
2025-08-16 07:22:56 +00:00
namespace: database
2025-08-22 22:12:13 +10:00
wave: 3
2025-08-21 22:29:17 +10:00
2025-08-22 22:54:36 +10:00
- name: deploy-stuff
path: applications/stuff
namespace: home-server
2025-08-23 00:02:20 +10:00
wave: 4
- name: deploy-other-stuff
path: applications/private
2025-08-23 00:03:31 +10:00
namespace: home-media
2025-08-23 00:02:20 +10:00
wave: 5
2025-08-22 22:54:36 +10:00
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}}