moving to argo
This commit is contained in:
parent
6850a3646e
commit
2e9c67f227
12 changed files with 757 additions and 6 deletions
35
deploy/server.yaml
Normal file
35
deploy/server.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: home-server-applications
|
||||
namespace: argocd
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- name: namespace
|
||||
path: applications/00-namespace
|
||||
- name: replicator
|
||||
path: applications/10-replicator
|
||||
- name: databases
|
||||
path: applications/20-databases
|
||||
- name: domain-names
|
||||
path: applications/30-domain-names
|
||||
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'
|
||||
namespace: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue