-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathargo-rollouts.yaml
44 lines (44 loc) · 1.12 KB
/
argo-rollouts.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
35
36
37
38
39
40
41
42
43
44
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: argo-rollouts
namespace: argocd
spec:
goTemplate: true
generators:
- clusters:
selector:
matchLabels:
rollouts: "true"
values:
clusterName: "{{.name}}"
- list:
elements:
- name: in-cluster
values:
clusterName: k3d-control
template:
metadata:
name: "argo-rollouts-{{.values.clusterName}}"
spec:
project: infra
sources:
- repoURL: https://github.com/Utwo/k8s-playground
path: infra/argo-rollouts
targetRevision: HEAD
ref: myRepo # repo is available via symlink "myRepo"
directory:
recurse: true
- chart: argo-rollouts
helm:
valueFiles:
- $myRepo/infra/argo-rollouts/values.yaml
repoURL: https://argoproj.github.io/argo-helm
targetRevision: 2.38.2
destination:
namespace: argo-rollouts
name: "{{.name}}"
syncPolicy:
# automated: {}
syncOptions:
- CreateNamespace=true