36 lines
896 B
YAML
36 lines
896 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: home-server-databases
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- name: mariadb-operators
|
|
path: applications/20-databases/mariadb-operators
|
|
wave: 1
|
|
- name: mariadb-database
|
|
path: applications/20-databases/mariadb-database
|
|
wave: 2
|
|
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: database
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- SyncWave={{.wave}}
|