-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathvalues-baremetal-gpu.yaml
More file actions
295 lines (275 loc) · 8.33 KB
/
values-baremetal-gpu.yaml
File metadata and controls
295 lines (275 loc) · 8.33 KB
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
# Bare metal deployment for confidential containers WITH NVIDIA GPU support.
# Supports Intel TDX and AMD SEV-SNP via auto-detection (NFD).
# Includes NVIDIA H100 confidential GPU components (GPU Operator, IOMMU, CC Manager).
# Set main.clusterGroupName: baremetal-gpu in values-global.yaml to use.
clusterGroup:
name: baremetal-gpu
isHubCluster: true
namespaces:
- open-cluster-management
- vault
- golang-external-secrets
- openshift-sandboxed-containers-operator
- trustee-operator-system
- cert-manager-operator
- cert-manager
- hello-openshift
- kbs-access
- openshift-cnv
- openshift-storage
- openshift-nfd
- baremetal
- intel-dcap
- nvidia-gpu-operator
- gpu-workload
- kyverno
subscriptions:
acm:
name: advanced-cluster-management
namespace: open-cluster-management
sandbox:
name: sandboxed-containers-operator
namespace: openshift-sandboxed-containers-operator
source: redhat-operators
channel: stable
installPlanApproval: Manual
csv: sandboxed-containers-operator.v1.12.0
trustee:
name: trustee-operator
namespace: trustee-operator-system
source: redhat-operators
channel: stable
installPlanApproval: Manual
csv: trustee-operator.v1.1.0
cert-manager:
name: openshift-cert-manager-operator
namespace: cert-manager-operator
channel: stable-v1
lvm-operator:
name: lvms-operator
namespace: openshift-storage
source: redhat-operators
channel: stable-4.20
installPlanApproval: Automatic
cnv:
name: kubevirt-hyperconverged
namespace: openshift-cnv
source: redhat-operators
channel: stable
installPlanApproval: Automatic
nfd:
name: nfd
namespace: openshift-nfd
channel: stable
gpu-operator:
name: gpu-operator-certified
namespace: nvidia-gpu-operator
source: certified-operators
channel: v26.3
installPlanApproval: Manual
csv: gpu-operator-certified.v26.3.0
intel-device-plugins:
name: intel-device-plugins-operator
namespace: openshift-operators
source: certified-operators
channel: stable
projects:
- hub
- vault
- trustee
- golang-external-secrets
- sandbox
- workloads
- default
# Explicitly mention the cluster-state based overrides we plan to use for this pattern.
# We can use self-referential variables because the chart calls the tpl function with these variables defined
sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-storage-{{ $.Values.global.storageProvider }}.yaml'
applications:
acm:
name: acm
namespace: open-cluster-management
project: hub
chart: acm
chartVersion: 0.1.*
vault:
name: vault
namespace: vault
project: vault
chart: hashicorp-vault
chartVersion: 0.1.*
secrets-operator:
name: golang-external-secrets
namespace: golang-external-secrets
project: golang-external-secrets
chart: golang-external-secrets
chartVersion: 0.1.*
trustee:
name: trustee
namespace: trustee-operator-system
project: trustee
chart: trustee
chartVersion: 0.3.*
overrides:
- name: global.coco.secured
value: "true"
- name: kbs.admin.format
value: "v1.1"
- name: kbs.https.enabled
value: "false"
- name: kbs.secretResources[0].name
value: kbsres1
- name: kbs.secretResources[0].key
value: secret/data/hub/kbsres1
- name: kbs.tdx.enabled
value: "true"
- name: kbs.tdx.collateralService
value: "https://pccs-service.intel-dcap.svc.cluster.local:8042/sgx/certification/v4/"
- name: kbs.secretResources[1].name
value: passphrase
- name: kbs.secretResources[1].key
value: secret/data/hub/passphrase
- name: kbs.gpu.enabled
value: "true"
storage:
name: storage
namespace: openshift-storage
project: hub
path: charts/hub/storage
baremetal:
name: baremetal
namespace: baremetal
project: hub
path: charts/all/baremetal
sandbox:
name: sandbox
namespace: openshift-sandboxed-containers-operator
project: sandbox
chart: sandboxed-containers
chartVersion: 0.2.*
overrides:
- name: global.secretStore.backend
value: vault
- name: secretStore.name
value: vault-backend
- name: secretStore.kind
value: ClusterSecretStore
- name: enablePeerPods
value: "false"
intel-dcap:
name: intel-dcap
namespace: intel-dcap
project: hub
path: charts/all/intel-dcap
overrides:
- name: secretStore.name
value: vault-backend
- name: secretStore.kind
value: ClusterSecretStore
nvidia-gpu:
name: nvidia-gpu
namespace: nvidia-gpu-operator
project: hub
path: charts/all/nvidia-gpu
gpu-workload:
name: gpu-workload
namespace: gpu-workload
project: workloads
path: charts/coco-supported/gpu-workload
syncPolicy:
automated:
prune: true
sandbox-policies:
name: sandbox-policies
namespace: openshift-sandboxed-containers-operator
chart: sandboxed-policies
chartVersion: 0.1.*
kbs-access:
name: kbs-access
namespace: kbs-access
project: workloads
path: charts/coco-supported/kbs-access
syncPolicy:
automated:
prune: true
overrides:
- name: defaultMemory
value: "8192"
hello-openshift:
name: hello-openshift
namespace: hello-openshift
project: workloads
path: charts/coco-supported/hello-openshift
syncPolicy:
automated:
prune: true
kyverno:
name: kyverno
namespace: kyverno
project: hub
repoURL: https://kyverno.github.io/kyverno/
chart: kyverno
chartVersion: 3.7.*
syncPolicy:
automated: {}
retry:
limit: 20
syncOptions:
- ServerSideApply=true
overrides:
- name: admissionController.container.securityContext
value: "null"
- name: admissionController.initContainer.securityContext
value: "null"
- name: backgroundController.securityContext
value: "null"
- name: cleanupController.securityContext
value: "null"
- name: reportsController.securityContext
value: "null"
- name: crds.migration.securityContext
value: "null"
- name: webhooksCleanup.securityContext
value: "null"
- name: test.securityContext
value: "null"
- name: crds.groups.wgpolicyk8s.policyreports
value: "false"
- name: crds.groups.wgpolicyk8s.clusterpolicyreports
value: "false"
- name: reportsController.enabled
value: "false"
- name: backgroundController.resources.limits.memory
value: "512Mi"
- name: backgroundController.resources.requests.memory
value: "256Mi"
coco-kyverno-policies:
name: coco-kyverno-policies
namespace: openshift-sandboxed-containers-operator
project: sandbox
path: charts/all/coco-kyverno-policies
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://validatedpatterns.io/imperative-actions/#additional-job-customizations
image: ghcr.io/butler54/imperative-container:latest
serviceAccountCreate: true
adminServiceAccountCreate: true
serviceAccountName: imperative-admin-sa
jobs:
- name: install-deps
playbook: ansible/install-deps.yaml
verbosity: -vvv
timeout: 3600
- name: init-data-gzipper
playbook: ansible/init-data-gzipper.yaml
verbosity: -vvv
timeout: 3600
- name: reconcile-kataconfig-gpu
playbook: ansible/reconcile-kataconfig-gpu.yaml
verbosity: -vvv
timeout: 600