generated from glasskube/gitops-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplicationset.yaml
34 lines (34 loc) · 951 Bytes
/
applicationset.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: applications
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://github.com/jakepage91/gitops-post # TODO put your own repo url here
revision: HEAD
directories:
- path: 'packages/*'
- git:
repoURL: https://github.com/jakepage91/gitops-post # TODO put your own repo url here
revision: HEAD
directories:
- path: 'apps/*'
template:
metadata:
name: '{{ .path.basename }}'
spec:
project: default
source:
repoURL: https://github.com/jakepage91/gitops-post # TODO put your own repo url here
targetRevision: HEAD
path: '{{.path.path}}'
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true