|
| 1 | +# Bare metal deployment for confidential containers WITH NVIDIA GPU support. |
| 2 | +# Supports Intel TDX and AMD SEV-SNP via auto-detection (NFD). |
| 3 | +# Includes NVIDIA H100 confidential GPU components (GPU Operator, IOMMU, CC Manager). |
| 4 | +# Set main.clusterGroupName: baremetal in values-global.yaml to use. |
| 5 | + |
| 6 | +clusterGroup: |
| 7 | + name: baremetal |
| 8 | + isHubCluster: true |
| 9 | + namespaces: |
| 10 | + - open-cluster-management |
| 11 | + - vault |
| 12 | + - golang-external-secrets |
| 13 | + - openshift-sandboxed-containers-operator |
| 14 | + - trustee-operator-system |
| 15 | + - cert-manager-operator |
| 16 | + - cert-manager |
| 17 | + - hello-openshift |
| 18 | + - kbs-access |
| 19 | + - openshift-cnv |
| 20 | + - openshift-storage |
| 21 | + - openshift-nfd |
| 22 | + - baremetal |
| 23 | + - intel-dcap |
| 24 | + - nvidia-gpu-operator |
| 25 | + - gpu-workload |
| 26 | + - kyverno |
| 27 | + |
| 28 | + subscriptions: |
| 29 | + acm: |
| 30 | + name: advanced-cluster-management |
| 31 | + namespace: open-cluster-management |
| 32 | + sandbox: |
| 33 | + name: sandboxed-containers-operator |
| 34 | + namespace: openshift-sandboxed-containers-operator |
| 35 | + source: redhat-operators |
| 36 | + channel: stable |
| 37 | + installPlanApproval: Manual |
| 38 | + csv: sandboxed-containers-operator.v1.12.0 |
| 39 | + trustee: |
| 40 | + name: trustee-operator |
| 41 | + namespace: trustee-operator-system |
| 42 | + source: redhat-operators |
| 43 | + channel: stable |
| 44 | + installPlanApproval: Manual |
| 45 | + csv: trustee-operator.v1.1.0 |
| 46 | + cert-manager: |
| 47 | + name: openshift-cert-manager-operator |
| 48 | + namespace: cert-manager-operator |
| 49 | + channel: stable-v1 |
| 50 | + lvm-operator: |
| 51 | + name: lvms-operator |
| 52 | + namespace: openshift-storage |
| 53 | + source: redhat-operators |
| 54 | + channel: stable-4.20 |
| 55 | + installPlanApproval: Automatic |
| 56 | + cnv: |
| 57 | + name: kubevirt-hyperconverged |
| 58 | + namespace: openshift-cnv |
| 59 | + source: redhat-operators |
| 60 | + channel: stable |
| 61 | + installPlanApproval: Automatic |
| 62 | + nfd: |
| 63 | + name: nfd |
| 64 | + namespace: openshift-nfd |
| 65 | + channel: stable |
| 66 | + gpu-operator: |
| 67 | + name: gpu-operator-certified |
| 68 | + namespace: nvidia-gpu-operator |
| 69 | + source: certified-operators |
| 70 | + channel: v26.3 |
| 71 | + installPlanApproval: Manual |
| 72 | + csv: gpu-operator-certified.v26.3.0 |
| 73 | + intel-device-plugins: |
| 74 | + name: intel-device-plugins-operator |
| 75 | + namespace: openshift-operators |
| 76 | + source: certified-operators |
| 77 | + channel: stable |
| 78 | + projects: |
| 79 | + - hub |
| 80 | + - vault |
| 81 | + - trustee |
| 82 | + - golang-external-secrets |
| 83 | + - sandbox |
| 84 | + - workloads |
| 85 | + - default |
| 86 | + |
| 87 | + # Explicitly mention the cluster-state based overrides we plan to use for this pattern. |
| 88 | + # We can use self-referential variables because the chart calls the tpl function with these variables defined |
| 89 | + sharedValueFiles: |
| 90 | + - '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml' |
| 91 | + - '/overrides/values-storage-{{ $.Values.global.baremetalStorageProvider }}.yaml' |
| 92 | + |
| 93 | + applications: |
| 94 | + acm: |
| 95 | + name: acm |
| 96 | + namespace: open-cluster-management |
| 97 | + project: hub |
| 98 | + chart: acm |
| 99 | + chartVersion: 0.1.* |
| 100 | + |
| 101 | + vault: |
| 102 | + name: vault |
| 103 | + namespace: vault |
| 104 | + project: vault |
| 105 | + chart: hashicorp-vault |
| 106 | + chartVersion: 0.1.* |
| 107 | + |
| 108 | + secrets-operator: |
| 109 | + name: golang-external-secrets |
| 110 | + namespace: golang-external-secrets |
| 111 | + project: golang-external-secrets |
| 112 | + chart: golang-external-secrets |
| 113 | + chartVersion: 0.1.* |
| 114 | + |
| 115 | + trustee: |
| 116 | + name: trustee |
| 117 | + namespace: trustee-operator-system |
| 118 | + project: trustee |
| 119 | + repoURL: https://github.com/butler54/trustee-chart.git |
| 120 | + targetRevision: feature/baremetal-attestation |
| 121 | + path: . |
| 122 | + overrides: |
| 123 | + - name: global.coco.secured |
| 124 | + value: "true" |
| 125 | + - name: kbs.admin.format |
| 126 | + value: "v1.1" |
| 127 | + - name: kbs.https.enabled |
| 128 | + value: "false" |
| 129 | + - name: kbs.secretResources[0].name |
| 130 | + value: kbsres1 |
| 131 | + - name: kbs.secretResources[0].key |
| 132 | + value: secret/data/hub/kbsres1 |
| 133 | + - name: kbs.tdx.enabled |
| 134 | + value: "true" |
| 135 | + - name: kbs.tdx.collateralService |
| 136 | + value: "https://pccs-service.intel-dcap.svc.cluster.local:8042/sgx/certification/v4/" |
| 137 | + - name: kbs.secretResources[1].name |
| 138 | + value: passphrase |
| 139 | + - name: kbs.secretResources[1].key |
| 140 | + value: secret/data/hub/passphrase |
| 141 | + - name: kbs.gpu.enabled |
| 142 | + value: "true" |
| 143 | + |
| 144 | + storage: |
| 145 | + name: storage |
| 146 | + namespace: openshift-storage |
| 147 | + project: hub |
| 148 | + path: charts/hub/storage |
| 149 | + |
| 150 | + baremetal: |
| 151 | + name: baremetal |
| 152 | + namespace: baremetal |
| 153 | + project: hub |
| 154 | + path: charts/all/baremetal |
| 155 | + |
| 156 | + sandbox: |
| 157 | + name: sandbox |
| 158 | + namespace: openshift-sandboxed-containers-operator |
| 159 | + project: sandbox |
| 160 | + chart: sandboxed-containers |
| 161 | + chartVersion: 0.2.* |
| 162 | + overrides: |
| 163 | + - name: global.secretStore.backend |
| 164 | + value: vault |
| 165 | + - name: secretStore.name |
| 166 | + value: vault-backend |
| 167 | + - name: secretStore.kind |
| 168 | + value: ClusterSecretStore |
| 169 | + - name: enablePeerPods |
| 170 | + value: "false" |
| 171 | + |
| 172 | + |
| 173 | + intel-dcap: |
| 174 | + name: intel-dcap |
| 175 | + namespace: intel-dcap |
| 176 | + project: hub |
| 177 | + path: charts/all/intel-dcap |
| 178 | + overrides: |
| 179 | + - name: secretStore.name |
| 180 | + value: vault-backend |
| 181 | + - name: secretStore.kind |
| 182 | + value: ClusterSecretStore |
| 183 | + |
| 184 | + nvidia-gpu: |
| 185 | + name: nvidia-gpu |
| 186 | + namespace: nvidia-gpu-operator |
| 187 | + project: hub |
| 188 | + path: charts/all/nvidia-gpu |
| 189 | + |
| 190 | + gpu-workload: |
| 191 | + name: gpu-workload |
| 192 | + namespace: gpu-workload |
| 193 | + project: workloads |
| 194 | + path: charts/coco-supported/gpu-workload |
| 195 | + syncPolicy: |
| 196 | + automated: |
| 197 | + prune: true |
| 198 | + |
| 199 | + sandbox-policies: |
| 200 | + name: sandbox-policies |
| 201 | + namespace: openshift-sandboxed-containers-operator |
| 202 | + chart: sandboxed-policies |
| 203 | + chartVersion: 0.1.* |
| 204 | + |
| 205 | + kbs-access: |
| 206 | + name: kbs-access |
| 207 | + namespace: kbs-access |
| 208 | + project: workloads |
| 209 | + path: charts/coco-supported/kbs-access |
| 210 | + syncPolicy: |
| 211 | + automated: |
| 212 | + prune: true |
| 213 | + overrides: |
| 214 | + - name: defaultMemory |
| 215 | + value: "8192" |
| 216 | + |
| 217 | + hello-openshift: |
| 218 | + name: hello-openshift |
| 219 | + namespace: hello-openshift |
| 220 | + project: workloads |
| 221 | + path: charts/coco-supported/hello-openshift |
| 222 | + syncPolicy: |
| 223 | + automated: |
| 224 | + prune: true |
| 225 | + |
| 226 | + kyverno: |
| 227 | + name: kyverno |
| 228 | + namespace: kyverno |
| 229 | + project: hub |
| 230 | + repoURL: https://kyverno.github.io/kyverno/ |
| 231 | + chart: kyverno |
| 232 | + chartVersion: 3.7.* |
| 233 | + syncPolicy: |
| 234 | + automated: {} |
| 235 | + retry: |
| 236 | + limit: 20 |
| 237 | + syncOptions: |
| 238 | + - ServerSideApply=true |
| 239 | + overrides: |
| 240 | + - name: admissionController.container.securityContext |
| 241 | + value: "null" |
| 242 | + - name: admissionController.initContainer.securityContext |
| 243 | + value: "null" |
| 244 | + - name: backgroundController.securityContext |
| 245 | + value: "null" |
| 246 | + - name: cleanupController.securityContext |
| 247 | + value: "null" |
| 248 | + - name: reportsController.securityContext |
| 249 | + value: "null" |
| 250 | + - name: crds.migration.securityContext |
| 251 | + value: "null" |
| 252 | + - name: webhooksCleanup.securityContext |
| 253 | + value: "null" |
| 254 | + - name: test.securityContext |
| 255 | + value: "null" |
| 256 | + - name: crds.groups.wgpolicyk8s.policyreports |
| 257 | + value: "false" |
| 258 | + - name: crds.groups.wgpolicyk8s.clusterpolicyreports |
| 259 | + value: "false" |
| 260 | + - name: reportsController.enabled |
| 261 | + value: "false" |
| 262 | + |
| 263 | + coco-kyverno-policies: |
| 264 | + name: coco-kyverno-policies |
| 265 | + namespace: openshift-sandboxed-containers-operator |
| 266 | + project: sandbox |
| 267 | + path: charts/all/coco-kyverno-policies |
| 268 | + |
| 269 | + imperative: |
| 270 | + # NOTE: We *must* use lists and not hashes. As hashes lose ordering once parsed by helm |
| 271 | + # The default schedule is every 10 minutes: imperative.schedule |
| 272 | + # Total timeout of all jobs is 1h: imperative.activeDeadlineSeconds |
| 273 | + # imagePullPolicy is set to always: imperative.imagePullPolicy |
| 274 | + # For additional overrides that apply to the jobs, please refer to |
| 275 | + # https://validatedpatterns.io/imperative-actions/#additional-job-customizations |
| 276 | + image: ghcr.io/butler54/imperative-container:latest |
| 277 | + serviceAccountCreate: true |
| 278 | + adminServiceAccountCreate: true |
| 279 | + serviceAccountName: imperative-admin-sa |
| 280 | + jobs: |
| 281 | + - name: install-deps |
| 282 | + playbook: ansible/install-deps.yaml |
| 283 | + verbosity: -vvv |
| 284 | + timeout: 3600 |
| 285 | + - name: init-data-gzipper |
| 286 | + playbook: ansible/init-data-gzipper.yaml |
| 287 | + verbosity: -vvv |
| 288 | + timeout: 3600 |
| 289 | + - name: reconcile-kataconfig-gpu |
| 290 | + playbook: ansible/reconcile-kataconfig-gpu.yaml |
| 291 | + verbosity: -vvv |
| 292 | + timeout: 600 |
| 293 | + # Required for tech preview only. |
| 294 | + # - name: detect-runtime-class |
| 295 | + # playbook: ansible/detect-runtime-class.yaml |
| 296 | + # verbosity: -vvv |
| 297 | + # timeout: 600 |
0 commit comments