-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapplicationset-bootstrap.yaml
87 lines (87 loc) · 2.89 KB
/
applicationset-bootstrap.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: bootstrap
namespace: openshift-gitops
spec:
generators:
- list:
elements:
- cluster: in-cluster
name: rhoai-install
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/rhoai/install-operator
- cluster: in-cluster
name: rhoai-config
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/rhoai/config
- cluster: in-cluster
name: rhoai-deploy
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/rhoai/deploy
- cluster: in-cluster
name: demo-project
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/demo-project
- cluster: in-cluster
name: mcgw-install
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/mcgw/install-operator
- cluster: in-cluster
name: mcgw-deploy
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/mcgw/deploy
- cluster: in-cluster
name: mcgw-config
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: common-utils/mcgw/config
- cluster: in-cluster
name: model-deploy
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: basic-vanilla-poc/bootstrap/model-deploy
- cluster: in-cluster
name: poc-primer
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: basic-vanilla-poc/bootstrap/primer
- cluster: in-cluster
name: anythingllm
repoURL: https://github.com/rh-aiservices-bu/genai-rhoai-poc-template.git
targetRevision: dev
path: basic-vanilla-poc/bootstrap/anythingllm
template:
metadata:
name: "{{name}}"
namespace: openshift-gitops
labels:
component: bootstrap
purpose: "{{name}}"
spec:
project: default
source:
repoURL: "{{repoURL}}"
targetRevision: "{{targetRevision}}"
path: "{{path}}"
destination:
server: "https://kubernetes.default.svc"
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- RespectIgnoreDifferences=true
- Retry=true
retry:
limit: 50
backoff:
duration: 15s
factor: 2
maxDuration: 5m # Maximum retry interval