generated from glasskube/gitops-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplicationset.yaml
More file actions
29 lines (29 loc) · 790 Bytes
/
applicationset.yaml
File metadata and controls
29 lines (29 loc) · 790 Bytes
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
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: glasskube-packages
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://github.com/jakepage91/gitops-template # TODO put your own repo url here
revision: HEAD
directories:
- path: 'packages/*'
template:
metadata:
name: '{{ .path.basename }}'
spec:
project: default
source:
repoURL: https://github.com/jakepage91/gitops-template # TODO put your own repo url here
targetRevision: HEAD
path: '{{.path.path}}'
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true