Skip to content

Commit d387a4b

Browse files
authored
feat: Support for airgap deployments (#105)
Extensive refactoring to allow the use of airgapped deployments.
1 parent 391662b commit d387a4b

268 files changed

Lines changed: 112053 additions & 485 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/superlinter.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
VALIDATE_SHELL_SHFMT: false
3939
VALIDATE_YAML: false
4040
VALIDATE_YAML_PRETTIER: false
41+
# Exclude vendored upstream charts from linting
42+
FILTER_REGEX_EXCLUDE: "charts/vendor/.*"
4143
# VALIDATE_DOCKERFILE_HADOLINT: false
4244
# VALIDATE_MARKDOWN: false
4345
# VALIDATE_NATURAL_LANGUAGE: false

‎Makefile‎

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,71 @@ cache-keys: ## Download Red Hat signing keys from official sources to ~/.coco-pa
1717
@echo "Done. Verify fingerprints at https://access.redhat.com/security/team/key/"
1818

1919

20+
.PHONY: cache-registry-ca
21+
cache-registry-ca: ## Copy mirror-registry CA cert to ~/.coco-pattern/ for use by load-secrets
22+
@mkdir -p ~/.coco-pattern
23+
@if [ -f ~/.coco-pattern/quay-ca-cert.pem ]; then \
24+
mv ~/.coco-pattern/quay-ca-cert.pem ~/.coco-pattern/mirror-registry-ca-cert.pem; \
25+
echo " Migrated quay-ca-cert.pem -> mirror-registry-ca-cert.pem"; \
26+
fi
27+
@if [ -f ~/mirror-registry-certs/ca.crt ]; then \
28+
cp ~/mirror-registry-certs/ca.crt ~/.coco-pattern/mirror-registry-ca-cert.pem; \
29+
echo " Cached mirror-registry CA at ~/.coco-pattern/mirror-registry-ca-cert.pem"; \
30+
else \
31+
echo "ERROR: ~/mirror-registry-certs/ca.crt not found."; \
32+
echo " Ensure the mirror registry was initialised and its certs are at ~/mirror-registry-certs/"; \
33+
exit 1; \
34+
fi
35+
36+
.PHONY: load-bootstrap
37+
load-bootstrap: ## Load ArgoCD bootstrap secrets (DEL-2) — run after cluster exists but before Vault is up
38+
@echo "Loading ArgoCD OCI Helm registry bootstrap secret..."
39+
@if ! ./pattern.sh ansible-playbook rhvp.cluster_utils.load_bootstrap_secrets --list-tasks >/dev/null 2>&1; then \
40+
echo "ERROR: load_bootstrap_secrets playbook not found in utility container."; \
41+
echo " Bump utility-container tag in imageset-config and re-mirror."; \
42+
exit 1; \
43+
fi
44+
@echo "Pre-creating bootstrap secret target namespaces (avoids race with patterns-operator)..."
45+
@python3 -c "\
46+
import yaml, os, pathlib; \
47+
pattern = yaml.safe_load(open('values-global.yaml'))['global']['pattern']; \
48+
search = [pathlib.Path(p) for p in [ \
49+
os.environ.get('VALUES_SECRET', ''), \
50+
os.path.expanduser(f'~/values-secret-{pattern}.yaml'), \
51+
os.path.expanduser('~/values-secret.yaml'), \
52+
'values-secret.yaml', \
53+
] if p]; \
54+
f = next((p for p in search if p.is_file()), None); \
55+
data = yaml.safe_load(f.read_text()) if f else {}; \
56+
[print(ns) for s in data.get('bootstrap_secrets',[]) for ns in s.get('targetNamespaces',[])] \
57+
" 2>/dev/null | \
58+
sort -u | xargs -I{} sh -c 'oc create namespace {} --dry-run=client -o yaml | oc apply -f - 2>/dev/null; true'
59+
./pattern.sh ansible-playbook rhvp.cluster_utils.load_bootstrap_secrets
60+
61+
.PHONY: gen-mirror-helm-secret
62+
gen-mirror-helm-secret: ## Generate mirror-registry Helm OCI password file from mirror-registry init output
63+
@mkdir -p ~/.coco-pattern
64+
@echo "Enter the mirror-registry password (from ~/mirror-registry-init.txt or ~/mirror-registry-output/init.json):"
65+
@read -r MRPASS; printf '%s' "$$MRPASS" > ~/.coco-pattern/mirror-registry-password; chmod 600 ~/.coco-pattern/mirror-registry-password
66+
@echo " Saved to ~/.coco-pattern/mirror-registry-password"
67+
68+
.PHONY: pck-register
69+
pck-register: ## Register PCK certificates with Intel PCS (requires INTEL_PCS_API_KEY)
70+
@if [ -z "$(INTEL_PCS_API_KEY)" ]; then \
71+
echo "ERROR: Set INTEL_PCS_API_KEY environment variable"; \
72+
echo " Usage: make pck-register INTEL_PCS_API_KEY=<key>"; \
73+
exit 1; \
74+
fi
75+
@PCS_TOOL="$(HOME)/confidential-computing.tee.dcap/tools/PcsClientTool/pcsclient.py"; \
76+
if [ ! -f "$$PCS_TOOL" ]; then \
77+
echo "ERROR: PCS Client Tool not found at $$PCS_TOOL"; \
78+
echo " Clone: git clone https://github.com/intel/confidential-computing.tee.dcap ~/confidential-computing.tee.dcap"; \
79+
exit 1; \
80+
fi; \
81+
cd "$$(dirname $$PCS_TOOL)" && python3 pcsclient.py -t register -k "$(INTEL_PCS_API_KEY)"
82+
2083
##@ Reference Value Collection
84+
2185
.PHONY: collect-firmware-refvals
2286
collect-firmware-refvals: ## Collect firmware reference values (bare metal, default)
2387
@scripts/collect-firmware-refvals.sh
@@ -26,6 +90,106 @@ collect-firmware-refvals: ## Collect firmware reference values (bare metal, defa
2690
collect-azure-refvals: ## Collect PCR reference values (Azure)
2791
@scripts/collect-firmware-refvals.sh --platform azure
2892

93+
.PHONY: collect-dcap-collateral
94+
collect-dcap-collateral: ## Collect TDX DCAP collateral from Intel PCS (API key via OS keyring)
95+
@scripts/collect-dcap-collateral.sh
96+
97+
.PHONY: dcap-offline-provision
98+
dcap-offline-provision: ## Full DCAP offline provisioning workflow (collect collateral + load secrets)
99+
$(MAKE) collect-dcap-collateral
100+
$(MAKE) load-secrets
101+
102+
##@ AMD SEV-SNP VCEK Provisioning
103+
104+
.PHONY: snp-collect-vcek-urls
105+
snp-collect-vcek-urls: ## Collect VCEK URLs from AMD SNP nodes (requires KUBECONFIG)
106+
@scripts/collect-snp-vcek-urls.sh
107+
108+
.PHONY: snp-download-vcek
109+
snp-download-vcek: ## Download VCEK certs from AMD KDS (requires internet)
110+
@scripts/download-snp-vcek.sh
111+
112+
.PHONY: snp-gen-overrides
113+
snp-gen-overrides: ## Generate SNP VCEK values override from cached certs (local only)
114+
@scripts/gen-snp-vcek-overrides.sh
115+
116+
.PHONY: snp-offline-provision
117+
snp-offline-provision: snp-collect-vcek-urls snp-download-vcek snp-gen-overrides ## Full SNP VCEK offline provisioning
118+
119+
##@ Disconnected Deployment
120+
MIRROR_REGISTRY ?= quay.example.com:443/mirror
121+
IMAGESET_CONFIG ?= airgap/imageset-config.yaml
122+
OC_MIRROR_WORKSPACE ?= file://$(HOME)/oc-mirror-workspace
123+
124+
.PHONY: airgap-mirror
125+
airgap-mirror: ## Mirror content to disconnected registry (requires MIRROR_REGISTRY)
126+
oc-mirror -c $(IMAGESET_CONFIG) \
127+
--workspace $(OC_MIRROR_WORKSPACE) \
128+
--dest-tls-verify=false \
129+
docker://$(MIRROR_REGISTRY) --v2
130+
131+
.PHONY: airgap-post-install
132+
airgap-post-install: ## Post-install bootstrap (after airgap-mirror + labctl apply-mirror-resources)
133+
@scripts/airgap-post-install.sh
134+
135+
.PHONY: airgap-deploy-pattern
136+
airgap-deploy-pattern: ## Deploy Pattern CR directly (skip pattern.sh, use values-global.yaml config)
137+
@scripts/airgap-post-install.sh --deploy-pattern
138+
139+
.PHONY: airgap-fix-manifests
140+
airgap-fix-manifests: ## Fix oc-mirror manifest list failures with fallback mirroring
141+
@scripts/airgap-post-install.sh --fix-manifest-lists
142+
143+
.PHONY: airgap-sync-repos
144+
airgap-sync-repos: ## Push working copy changes to bare HTTP repos and restart git server
145+
@scripts/airgap-post-install.sh --sync-repos-only
146+
147+
ARGOCD_CLI_DIR ?= $(HOME)/.local/bin
148+
149+
.PHONY: argocd-install
150+
argocd-install: ## Download argocd CLI from the cluster's ArgoCD image into ~/.local/bin
151+
@mkdir -p $(ARGOCD_CLI_DIR)
152+
@ARGOCD_NS=$$(oc get argocd -A -o jsonpath='{.items[0].metadata.namespace}') || \
153+
{ echo "ERROR: No ArgoCD instance found. Is KUBECONFIG set and the pattern deployed?"; exit 1; }; \
154+
ARGOCD_IMG=$$(oc get deployment -n $$ARGOCD_NS -l app.kubernetes.io/component=server,app.kubernetes.io/part-of=argocd \
155+
-o jsonpath='{.items[0].spec.template.spec.containers[0].image}') || \
156+
{ echo "ERROR: Could not find ArgoCD server deployment in $$ARGOCD_NS"; exit 1; }; \
157+
echo "Extracting argocd CLI from $$ARGOCD_IMG ..."; \
158+
POD_NAME="argocd-cli-extract-$$$$"; \
159+
oc run "$$POD_NAME" -n $$ARGOCD_NS --image="$$ARGOCD_IMG" \
160+
--restart=Never --command -- sleep 300; \
161+
echo "Waiting for extract pod..."; \
162+
oc wait --for=condition=Ready pod/"$$POD_NAME" -n $$ARGOCD_NS --timeout=120s; \
163+
oc cp "$$ARGOCD_NS/$$POD_NAME:/usr/local/bin/argocd" "$(ARGOCD_CLI_DIR)/argocd"; \
164+
chmod +x "$(ARGOCD_CLI_DIR)/argocd"; \
165+
oc delete pod "$$POD_NAME" -n $$ARGOCD_NS --force --grace-period=0 2>/dev/null; \
166+
echo "Installed: $(ARGOCD_CLI_DIR)/argocd"; \
167+
$(ARGOCD_CLI_DIR)/argocd version --client | head -1
168+
169+
.PHONY: argocd-login
170+
argocd-login: ## Extract ArgoCD credentials from cluster and log in with argocd CLI
171+
@ARGOCD_NS=$$(oc get argocd -A -o jsonpath='{.items[0].metadata.namespace}' 2>/dev/null) && \
172+
ARGOCD_NAME=$$(oc get argocd -n $$ARGOCD_NS -o jsonpath='{.items[0].metadata.name}' 2>/dev/null) && \
173+
ARGOCD_ROUTE=$$(oc get route $${ARGOCD_NAME}-server -n $$ARGOCD_NS -o jsonpath='{.spec.host}' 2>/dev/null) && \
174+
ARGOCD_PASS=$$(oc get secret $${ARGOCD_NAME}-cluster -n $$ARGOCD_NS -o jsonpath='{.data.admin\.password}' 2>/dev/null | base64 -d) && \
175+
echo "ArgoCD URL: https://$$ARGOCD_ROUTE" && \
176+
echo "Username: admin" && \
177+
echo "Password: $$ARGOCD_PASS" && \
178+
echo "" && \
179+
if command -v argocd >/dev/null 2>&1; then \
180+
oc config set-context --current --namespace=$$ARGOCD_NS && \
181+
argocd login --core && \
182+
echo "" && \
183+
echo "Logged in (core mode, namespace $$ARGOCD_NS)." && \
184+
echo "Usage: argocd app list"; \
185+
else \
186+
echo "argocd CLI not installed. To install:" && \
187+
echo " curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64" && \
188+
echo " chmod +x /usr/local/bin/argocd" && \
189+
echo "" && \
190+
echo "Or use the web UI at: https://$$ARGOCD_ROUTE"; \
191+
fi
192+
29193
##@ Hardware Detection
30194
.PHONY: detect-hardware
31195
detect-hardware: ## Detect hardware profile from cluster nodes (requires KUBECONFIG or oc login)
@@ -59,3 +223,16 @@ detect-hardware: ## Detect hardware profile from cluster nodes (requires KUBECON
59223
fi && \
60224
echo "" && \
61225
echo "To apply: edit values-global.yaml and set global.hardware.profile to the recommended value."
226+
227+
##@ Chart Management
228+
KYVERNO_VERSION ?= 3.7.2
229+
KYVERNO_REPO ?= https://kyverno.github.io/kyverno/
230+
231+
.PHONY: update-kyverno-chart
232+
update-kyverno-chart: ## Pull and embed upstream Kyverno Helm chart (requires internet)
233+
@echo "Pulling kyverno chart v$(KYVERNO_VERSION)..."
234+
@rm -rf charts/vendor/kyverno
235+
@helm pull kyverno --repo $(KYVERNO_REPO) --version $(KYVERNO_VERSION) --untar -d charts/vendor/
236+
@find charts/vendor/kyverno -name "README.md" -o -name "README.md.gotmpl" | xargs rm -f
237+
@echo "Embedded charts/vendor/kyverno (v$(KYVERNO_VERSION))"
238+
@echo "Next: commit, push, and sync ArgoCD"

‎README.md‎

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,59 @@ The topology is controlled by the `main.clusterGroupName` field in `values-globa
2626

2727
Azure deployments use peer-pods, which provision confidential VMs (`Standard_DCas_v5` family) directly on the Azure hypervisor. Bare metal deployments use layered images and hardware TEE features directly.
2828

29-
## Current version (5.*)
29+
## Current version (8.*)
3030

31-
Breaking change from v4. Uses GA releases of the CoCo stack with Kyverno-based initdata injection.
31+
Breaking change from v5. Upgrades to OSC 1.13 / Trustee 1.2, adds full airgap (disconnected) deployment support, and introduces experimental KubeVirt TDX VM workloads.
3232

33-
- **5.0** — Kyverno-based `cc_init_data` injection (replaces MutatingAdmissionPolicy), OSC 1.12 / Trustee 1.1 GA, external chart repositories, self-signed certificates via cert-manager, multi-cluster support via ACM. Requires OCP 4.19.28+.
34-
- **5.1** — Bare metal support for Intel TDX and AMD SEV-SNP via NFD auto-detection. Currently tested on SNO (Single Node OpenShift) configurations only.
35-
- **5.2** — NVIDIA H100 confidential GPU support for bare metal (`baremetal-gpu` clusterGroup). Adds GPU Operator, IOMMU configuration, CC Manager, and sample CUDA workload.
36-
- **5.3** — DRY refactor of trustee and kyverno overrides, Kyverno CRD label fix, pattern infrastructure update.
37-
- **5.4** — Firmware reference values workflow for bare metal attestation via veritas. Adds `collect-firmware-refvals.sh`, RVPS integration, and hardened attestation policy (trustee-chart v0.5.0).
38-
- **5.5** — Trustee-chart v0.7.0 (td_attributes.debug path fix). Unified reference value collection for Azure and bare metal via veritas container.
39-
- **5.6** — Documentation update, sandboxed-policies v0.2.0 (Azure-conditional peer-pods).
33+
- **8.0** — OSC 1.13 / Trustee 1.2 upgrade. KBS TOML rewrite, RVPS format alignment, operator CSV pins, trustee-chart v0.10.0. Airgap deployment support: single mirror-registry architecture, `oc-mirror` v2, `airgap-post-install.sh` bootstrap, `DEPLOY-RUNBOOK.md` operational guide. Requires OCP 4.22+.
34+
35+
**Key changes from v5:**
36+
- **Operator upgrade:** OSC 1.12 → 1.13, Trustee 1.1 → 1.2. Breaking API changes in KBS configuration and RVPS reference value format.
37+
- **Airgap support:** Full disconnected deployment on bare metal via a single mirror-registry. Includes `oc-mirror` imageset configs, `airgap-post-install.sh` for bootstrap (CatalogSources, IDMS/ITMS, NeverContactSource policy normalisation, ArgoCD CA injection, git HTTP server), and a step-by-step operational runbook at `airgap/DEPLOY-RUNBOOK.md`.
38+
- **Chart architecture:** trustee-chart moved to OCI Helm artifact (`quay.io/validatedpatterns/trustee:0.10.0`). Kyverno chart vendored under `charts/vendor/`. External charts (sandboxed-containers, sandboxed-policies) remain OCI.
39+
- **TDX MachineConfig:** QGS socket port `socket_port=0` now deployed via MachineConfig drop-in (replaces manual `sed` workaround).
40+
- **DCAP collateral:** `collect-dcap-collateral.sh` uses `pcsclient.py fetch -p E5` with `jq` fixup for QeIdentity (Red Hat OSC 1.13 disconnected TDX procedure).
41+
- **Experimental:** KubeVirt TDX confidential VMs (`charts/all/kubevirtconfidential/`, `charts/all/kubevirtvm/`). Disabled by default. Requires Intel TDX hardware and KubeVirt post-v1.8.4 for full QGS attestation. See chart READMEs for details.
4042

4143
### Previous versions
4244

4345
| Version | Trustee | OSC | Min OCP | Notes |
4446
|---------|---------|-----|---------|-------|
47+
| **5.*** | 1.1 (GA) | 1.12 | 4.19.28+ | Kyverno initdata injection, multi-cluster, bare metal, GPU |
4548
| **4.*** | 1.1 (GA) | 1.12 | 4.19.28+ | First GA release; MutatingAdmissionPolicy-based initdata |
4649
| **3.*** | 0.4.* (Tech Preview) | 1.10.* | 4.16+ | |
4750
| **2.*** | 0.3.* (Tech Preview) | 1.9.* | 4.16+ | |
4851
| **1.0.0** | 0.2.0 (Tech Preview) | 1.8.1 | 4.16+ | |
4952

53+
### Airgap (disconnected) deployment
54+
55+
For air-gapped bare metal environments, see [`airgap/DEPLOY-RUNBOOK.md`](airgap/DEPLOY-RUNBOOK.md) for the full operational procedure. The runbook covers:
56+
- Phase 0: One-time jump host setup (mirror registry, git HTTP server, CA certificates)
57+
- Phase A–B: Mirror wipe and `oc-mirror` v2 re-mirror
58+
- Phase C: Agent-based OCP install
59+
- Phase D: Pattern bootstrap (`airgap-post-install.sh`)
60+
- Phase E: Intel DCAP collateral and TDX attestation
61+
- Phase F: Verification and pass/fail checklist
62+
63+
**Prerequisites for airgap:**
64+
- A jump host with internet access (for `oc-mirror`) and network access to the target cluster
65+
- `docker.io/library/registry:2` container running as the mirror registry (setup documented in Phase 0)
66+
- `scripts/git-http-server.py` serving pattern repos over smart HTTP (required by the patterns-operator's go-git client)
67+
- All operator images, OCI Helm charts, and workload images mirrored via `airgap/imageset-config-4.22.yaml`
68+
5069
## Setup
5170

5271
### Prerequisites
5372

5473
**Azure deployments:**
5574

56-
- OpenShift 4.19.28+ cluster on Azure (self-managed via `openshift-install` or ARO)
75+
- OpenShift 4.22+ cluster on Azure (self-managed via `openshift-install` or ARO)
5776
- Azure `Standard_DCas_v5` VM quota in your target region (these are confidential computing VMs and are not available in all regions). See the note below for more details.
5877
- Azure DNS hosting the cluster's DNS zone
5978

6079
**Bare metal deployments:**
6180

62-
- OpenShift 4.19.28+ cluster on bare metal with Intel TDX or AMD SEV-SNP hardware
81+
- OpenShift 4.22+ cluster on bare metal with Intel TDX or AMD SEV-SNP hardware
6382
- BIOS/firmware configured to enable TDX or SEV-SNP
6483
- Available block devices for LVMS storage (auto-discovered)
6584
- For Intel TDX: an Intel PCS API key from [api.portal.trustedservices.intel.com](https://api.portal.trustedservices.intel.com/)
@@ -74,12 +93,12 @@ Breaking change from v4. Uses GA releases of the CoCo stack with Kyverno-based i
7493

7594
These scripts generate the cryptographic material and attestation reference values needed by Trustee. Run them once before your first deployment.
7695

77-
1. `bash scripts/gen-secrets.sh` — generates KBS key pairs, PCCS certificates/tokens (for bare metal), and copies `values-secret.yaml.template` to `~/values-secret-coco-pattern.yaml`
96+
1. `bash scripts/gen-secrets.sh` — generates KBS key pairs, sealed-secrets signing keys, and copies `values-secret.yaml.template` to `~/values-secret-coco-pattern.yaml`
7897
2. Collect attestation reference values (requires `podman`, `yq`, `jq`, and `~/pull-secret.json`):
7998
- **Azure:** `make collect-azure-refvals` — pulls PCR measurements from the dm-verity image via veritas. Saves to `~/.coco-pattern/measurements.json`.
8099
- **Bare metal:** `make collect-firmware-refvals` — computes firmware measurements from OCP release artifacts via veritas. Saves to `~/.coco-pattern/firmware-reference-values.json`. For bare metal, also uncomment the `firmwareReferenceValues` section in `~/values-secret-coco-pattern.yaml`.
81100
- See [docs/firmware-reference-values.md](docs/firmware-reference-values.md) for detailed workflow and options.
82-
3. Review and customise `~/values-secret-coco-pattern.yaml` — this file is loaded into Vault and provides secrets to the pattern. For bare metal, uncomment the PCCS secrets section and provide your Intel PCS API key.
101+
3. Review and customise `~/values-secret-coco-pattern.yaml` — this file is loaded into Vault and provides secrets to the pattern.
83102

84103
> **Note:** `gen-secrets.sh` will not overwrite existing secrets. Delete `~/.coco-pattern/` if you need to regenerate.
85104
@@ -95,7 +114,7 @@ These scripts generate the cryptographic material and attestation reference valu
95114
1. Set `main.clusterGroupName: trusted-hub` in `values-global.yaml`
96115
2. Deploy the hub cluster: `./pattern.sh make install`
97116
3. Wait for ACM (`MultiClusterHub`) to reach `Running` state on the hub
98-
4. Provision a second OpenShift 4.19.28+ cluster on Azure for the spoke
117+
4. Provision a second OpenShift 4.22+ cluster on Azure for the spoke
99118
5. Import the spoke into ACM with label `clusterGroup=azure-spoke`
100119
(see [importing a cluster](https://validatedpatterns.io/learn/importing-a-cluster/))
101120
6. ACM will automatically deploy the `azure-spoke` clusterGroup applications (sandboxed containers, workloads) to the imported cluster
@@ -107,8 +126,7 @@ These scripts generate the cryptographic material and attestation reference valu
107126
- Run `make detect-hardware` after NFD is deployed to detect your hardware profile automatically
108127
- Options: `intel-tdx`, `amd-snp`, `intel-tdx-gpu`, `amd-snp-gpu`
109128
3. Run `bash scripts/gen-secrets.sh` to generate KBS keys and PCCS secrets
110-
4. For Intel TDX: uncomment the PCCS secrets in `~/values-secret-coco-pattern.yaml` and provide your Intel PCS API key
111-
5. `./pattern.sh make install`
129+
4. `./pattern.sh make install`
112130
6. Wait for the cluster to reboot nodes (MachineConfig updates for TDX/SEV-SNP kernel parameters and vsock)
113131

114132
> **Note:** Bare metal support is currently tested on SNO (Single Node OpenShift) configurations. Multi-node bare metal clusters are expected to work but have not been validated yet.
@@ -120,9 +138,7 @@ The system auto-detects your hardware:
120138
- **RuntimeClass** `kata-cc` is created automatically pointing to the correct handler (`kata-tdx` or `kata-snp`)
121139
- Both `kata-tdx` and `kata-snp` RuntimeClasses are deployed; only the one matching your hardware has schedulable nodes
122140
- MachineConfigs are deployed for both `master` and `worker` roles (safe on SNO where only master exists)
123-
- PCCS and QGS services deploy unconditionally; DaemonSets only schedule on Intel nodes via NFD labels
124-
125-
Optional: pin PCCS to a specific node with `bash scripts/get-pccs-node.sh` and set `baremetal.pccs.nodeSelector` in the baremetal chart values.
141+
- DCAP QGS (Quote Generation Service) deploys on Intel nodes via NFD labels; offline collateral mode (no PCCS server required)
126142

127143
For GPU-enabled deployments (`intel-tdx-gpu` or `amd-snp-gpu` profiles):
128144

0 commit comments

Comments
 (0)