Skip to content

Add optional Trustee bootstrap and require installed OSC for Kata - #178

Draft
mtalvi wants to merge 2 commits into
validatedpatterns-sandbox:mainfrom
mtalvi:codex/optional-trustee-operators
Draft

mtalvi wants to merge 2 commits into
validatedpatterns-sandbox:mainfrom
mtalvi:codex/optional-trustee-operators

Conversation

@mtalvi

@mtalvi mtalvi commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

SAW already installs the OpenShift sandboxed containers Operator, but Kata provisioning could treat its surviving CRD/runtime as sufficient when the operator was absent or failed. Require a matching Subscription and Succeeded installed CSV before Kata registration, and add optional Red Hat build of Trustee installation through the pattern.

  • Add default-off global.confidential.enabled and selected shared overrides. The enabled overlay installs Trustee and makes OSC/Trustee InstallPlans manual for compatibility review.
  • Configure the operator's Restricted profile with existing HTTPS/token-signing TLS Secret references. Keep generated policy ConfigMaps operator-owned and block workload ingress with a bootstrap NetworkPolicy applied before the TrusteeConfig.
  • Apply the OSC gate in RHDH, GitOps projection, and enrollment using namespace-scoped, read-only OLM permissions. Add make kata-operator-check and synchronize the shared preflight source.
  • Document certificate preparation, supported scope, retention/disablement, and the fresh-cluster validation record.

Validation:

  • Affected regression suite: 519 passed; final focused Trustee/RBAC chart checks: 10 passed.
  • Static lint, catalog check, and deployment validation passed: 27 chart variants, 303 schema resources, zero validation errors.
  • Real clustergroup 0.9.61 renders passed with the switch off/on in single-source and multi-source mode, including the generated child's values.
  • On cluster-nx6jv (OpenShift 4.22.22, BareMetal), OSC 1.13.1 and Trustee 1.2.1 reached Succeeded. The missing-operator check failed before installation and passed afterward. The Restricted KBS became ready, survived clean recreation/restart, denied an ordinary Pod's connection, and returned HTTP 401 over certificate-verified administrator port-forwarding.

Live validation installed only the rendered operator/KBS components, not the full SAW/GitOps stack. This PR does not activate a Kata runtime, enroll confidential workspaces, release provider credentials, or qualify NVIDIA inference/rotation. Those require the subsequent measured-identity and registration-specific authorization work.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant