generated from validatedpatterns/multicloud-gitops
-
Notifications
You must be signed in to change notification settings - Fork 66
/
values-all-in-one.yaml
304 lines (264 loc) · 7.49 KB
/
values-all-in-one.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# Possibly still not the right home...
devel:
image: chat-client:latest
npmbase: quay.io/hybridcloudpatterns/ubi-npm
namespace: devsecops-ci
roxCTLImage: registry.access.redhat.com/advanced-cluster-security/rhacs-roxctl-rhel8:3.71.0-5
global:
options:
useCSV: False
syncPolicy: Automatic
installPlanApproval: Automatic
cicd:
namespace: devsecops-ci
app:
gatling:
image: quay.io/hybridcloudpatterns/gatling:latest
repo: https://github.com/hybrid-cloud-demos/spring-petclinic-gatling
zapImage: quay.io/hybridcloudpatterns/zap2docker-stable
crdaImage: quay.io/hybridcloudpatterns/crda-image:0.1
petclinic:
repo: https://github.com/hybrid-cloud-demos/spring-petclinic
configRepo: https://github.com/hybrid-cloud-demos/spring-petclinic-config
image: quay.io/hybridcloudpatterns/spring-petclinic:latest
git:
taskImage: image-registry.openshift-image-registry.svc:5000/openshift/tools
storageSystem:
deploy: true
inventory:
useSpecificNodes: False
clusterGroup:
name: hub
isHubCluster: true
# Namespaces that are expected to be created.
# The pattern will apply these namespaces
# and creates an operator group for that namespace
namespaces:
- open-cluster-management
- vault
- golang-external-secrets
- rhacs-operator
- stackrox
- policies
- devsecops-ci
- openshift-storage
- quay-enterprise
# From Development
- argo-rollouts
- openshift-pipelines
- devsecops-dev
# subscriptions: OpenShift Operator subscriptions from OLM/OperatorHub
# - name: the Operator package name (required)
# namespace: expected namespace as specified by Operator (defaults to openshift-operators)
# channel: operator channel from package manifest (required)
# csv: Operator CSV from package manifest.
# only used if global.options.useCSV: true in values-global.yaml
subscriptions:
# If specific channels are required then uncomment channel line and add the name of the channel
acm:
name: advanced-cluster-management
namespace: open-cluster-management
acs:
name: rhacs-operator #packageName
namespace: openshift-operators # operator namespace
odf:
name: odf-operator
namespace: openshift-storage
quay:
name: quay-operator
namespace: openshift-operators
# From Development
openshift-pipelines:
name: openshift-pipelines-operator-rh
namespace: openshift-operators
# The following section is used by
# OpenShift GitOps (ArgoCD)
# Projects are just ArgoCD groupings that can be filtered on.
projects:
- hub
- opp
- external-secrets
# From Development
- secured
- ci
- test-app
- dev
#Adding jchraibi #advanced-devsecops to pattern framework
- spring-petclinic
- rollouts
sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml'
applications:
acm:
name: acm
namespace: open-cluster-management
project: opp
chart: acm
chartVersion: 0.1.*
ignoreDifferences:
- group: internal.open-cluster-management.io
kind: ManagedClusterInfo
jsonPointers:
- /spec/loggingCA
acs-central:
name: acs-central
namespace: stackrox
project: opp
path: charts/hub/acs/central
acs-secured:
name: acs-secured
namespace: stackrox
project: opp
path: charts/hub/acs/secured
storage:
name: storage
namespace: openshift-storage
project: opp
chart: openshift-data-foundations
chartVersion: 0.1.*
quay-registry:
name: quay-registry
namespace: quay-enterprise
project: opp
path: charts/hub/quay
opp-policy:
name: opp-policy
namespace: openshift
project: opp
path: charts/hub/opp
ignoreDifferences:
- group: operators.openshift.io
kind: Console
jsonPointers:
- /spec/plugins
vault:
name: vault
namespace: vault
project: hub
chart: hashicorp-vault
chartVersion: 0.1.*
golang-external-secrets:
name: golang-external-secrets
namespace: golang-external-secrets
project: external-secrets
chart: golang-external-secrets
chartVersion: 0.1.*
external-secrets:
name: external-secrets
namespace: devsecops-ci
project: external-secrets
path: charts/hub/external-secrets
cli-tools:
name: cli-tools
namespace: openshift
project: hub
path: charts/hub/cli-tools
# From Development
all-in-one:
name: single-cluster-devsecops
namespace: stackrox
project: hub
path: charts/all-in-one
argo-rollouts:
name: argo-rollouts
namespace: argo-rollouts
project: rollouts
path: charts/region/rollouts
pipelines:
name: pipelines
namespace: devsecops-ci
project: ci
path: charts/region/pipelines
ignoreDifferences:
- kind: ServiceAccount
jsonPointers:
- /imagePullSecrets
- /secrets
nexus:
name: nexus
namespace: devsecops-ci
project: ci
path: charts/region/nexus
reports-repo:
name: reports-repo
namespace: devsecops-ci
project: ci
path: charts/region/reports
sonarqube:
name: sonarqube
namespace: devsecops-ci
project: ci
path: charts/region/sonarqube
cosign:
name: cosign
namespace: devsecops-ci
project: ci
path: charts/region/cosign
rekor:
name: rekor
namespace: devsecops-ci
project: ci
path: charts/region/rekor
roxctl:
name: roxctl
namespace: devsecops-ci
project: ci
path: charts/region/roxctl
petclinic:
name: spring-petclinic
namespace: devsecops-dev
project: dev
path: charts/region/spring-petclinic-config
imperative: {}
# NOTE: We *must* use lists and not hashes. As hashes lose ordering once parsed by helm
# The default schedule is every 10 minutes: imperative.schedule
# Total timeout of all jobs is 1h: imperative.activeDeadlineSeconds
# imagePullPolicy is set to always: imperative.imagePullPolicy
# For additional overrides that apply to the jobs, please refer to
# https://hybrid-cloud-patterns.io/imperative-actions/#additional-job-customizations
#jobs:
#- name: regional-ca
# ansible playbook to be run
# playbook: common/ansible/playbooks/hello-world/hello-world.yaml
# per playbook timeout in seconds
# timeout: 234
# verbosity: "-v"
# This section is used by ACM
managedClusterGroups:
- name: development
helmOverrides:
- name: clusterGroup.isHubCluster
value: "false"
clusterSelector:
matchLabels:
clusterGroup: devel
matchExpressions:
- key: vendor
operator: In
values:
- OpenShift
- name: production
helmOverrides:
- name: clusterGroup.isHubCluster
value: "false"
clusterSelector:
matchLabels:
clusterGroup: prod
matchExpressions:
- key: vendor
operator: In
values:
- OpenShift
#
# Additional applications
# Be sure to include additional resources your apps will require
# +X machines
# +Y RAM
# +Z CPU
# - name: vendor-app
# namespace: default
# project: vendor
# path: path/to/myapp
# repoURL: https://github.com/vendor/applications.git
# targetRevision: main