khuedoan-homelab/system/root-app/applicationsets/system.yaml

29 lines
634 B
YAML
Raw Normal View History

2021-08-22 17:40:38 +07:00
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: system
spec:
generators:
- git:
repoURL: https://github.com/khuedoan/homelab.git
revision: master
directories:
- path: system/*
template:
metadata:
name: '{{path.basename}}'
spec:
destination:
2021-08-22 18:24:07 +07:00
name: in-cluster
2021-08-22 17:40:38 +07:00
namespace: '{{path.basename}}'
2021-08-22 18:24:07 +07:00
project: default
2021-08-22 17:40:38 +07:00
source:
repoURL: https://github.com/khuedoan/homelab.git
2021-08-22 17:40:38 +07:00
path: '{{path}}'
2021-08-22 18:28:41 +07:00
syncPolicy:
automated:
prune: true
selfHeal: true
2021-08-22 18:30:59 +07:00
syncOptions:
- CreateNamespace=true