forked from argoproj/argocd-example-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmatrix.yaml
More file actions
34 lines (34 loc) · 825 Bytes
/
Copy pathmatrix.yaml
File metadata and controls
34 lines (34 loc) · 825 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
30
31
32
33
34
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: matrix
namespace: argocd
spec:
generators:
- matrix:
generators:
- list:
elements:
- env: dev
- env: prod
- list:
elements:
- region: us
template:
metadata:
name: 'appset-matrix-{{env}}-{{region}}'
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps
targetRevision: HEAD
path: lightweight/app-a
destination:
server: https://kubernetes.default.svc
namespace: 'appset-matrix-{{env}}-{{region}}'
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true