idk
This commit is contained in:
parent
f75b44efca
commit
5b4bbe8f86
33 changed files with 691 additions and 35 deletions
76
deploy.old/server.yaml
Normal file
76
deploy.old/server.yaml
Normal file
|
@ -0,0 +1,76 @@
|
|||
---
|
||||
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}}
|
Loading…
Add table
Add a link
Reference in a new issue