khuedoan-homelab/bootstrap/root/bootstrap.yaml

25 lines
527 B
YAML
Raw Normal View History

2021-08-22 17:40:38 +07:00
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
2021-08-22 23:34:09 +07:00
name: bootstrap
2021-08-22 17:40:38 +07:00
spec:
generators:
- git:
repoURL: https://github.com/khuedoan/homelab.git
revision: master
directories:
2021-08-22 23:34:09 +07:00
- path: bootstrap/*
2021-08-22 17:40:38 +07:00
template:
metadata:
name: '{{path.basename}}'
spec:
destination:
2021-08-22 18:24:07 +07:00
name: in-cluster
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:
selfHeal: true