File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
application-sets/my-application-sets Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : argoproj.io/v1alpha1
2
2
kind : ApplicationSet
3
3
metadata :
4
- name : many-apps -application-set
4
+ name : multi-cluster -application-set
5
5
namespace : argocd
6
6
spec :
7
7
generators :
8
- - git :
9
- repoURL : https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git
10
- revision : HEAD
11
- directories :
12
- - path : application-sets/example-apps/*
8
+ - clusters : {} # Automatically use all clusters defined within Argo CD
13
9
template :
14
10
metadata :
15
- name : ' {{path.basename}} '
11
+ name : ' {{name}}-billing-app '
16
12
spec :
17
13
# The project the application belongs to.
18
14
project : default
@@ -21,12 +17,12 @@ spec:
21
17
source :
22
18
repoURL : https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git
23
19
targetRevision : HEAD
24
- path : ' {{path}} '
20
+ path : ./application-sets/manifests
25
21
26
22
# Destination cluster and namespace to deploy the application
27
23
destination :
28
- server : https://kubernetes.default.svc
29
- namespace : ' {{path.basename}} '
24
+ server : ' {{server}} '
25
+ namespace : billing
30
26
31
27
# Sync policy
32
28
syncPolicy :
You can’t perform that action at this time.
0 commit comments