docs(adr): ADR-0002 — SourceOS as the sovereign Kubernetes substrate (Guix builds, OSTree delivers) - #12
Closed
mdheller wants to merge 1 commit into
Closed
docs(adr): ADR-0002 — SourceOS as the sovereign Kubernetes substrate (Guix builds, OSTree delivers)#12mdheller wants to merge 1 commit into
mdheller wants to merge 1 commit into
Conversation
Blend OKD's platform layer and Talos's immutable/API-driven posture over the existing OSTree/cosa base, organised into tiers so the two atomic-update mechanisms do not collide: Tier 0 base/delivery = OSTree + cosa (kernel, CRI, kubelet, pinned crypto) Tier 1 services/defn = Guix generations (declarative, reproducible, rollback) Tier 2 platform = ArgoCD, OLM, Tekton, zot, gitea, Kyverno Guix builds; OSTree delivers. Katello continues to gate promotion exactly as cosa/WIRING.md already describes. Records the honest limits rather than the aspiration: - FIPS-compliant *by construction* (validated modules in approved mode), NOT FIPS validated — a CMVP certificate cannot be self-issued. - The Tier-0 crypto pin stays DECLARED, not enforced, until the FCOS config in cosa/manifests/sourceos-workstation.yaml is vendored and its crypto packages overridden (the file's existing TODO). - cosa build requires /dev/kvm; the current GKE cluster is Autopilot and cannot provide it, so the build tier must move off Autopilot. - gitea Actions has never run a job, so ordering is runner -> image build -> node flavor -> CAPI.
Member
Author
|
Moving this to the sovereign SCM — landed as gitea PR #1 (code.socioprophet.ai/SociOS-Linux/SourceOS/pulls/1). Substrate decision records belong in gitea, not GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decision
Rather than adopting OKD or Talos, blend both into SourceOS over the existing OSTree/cosa base, split into tiers so the two atomic-update mechanisms don't collide:
SourceOS-Linux/source-os)Guix builds; OSTree delivers. Katello continues to gate promotion (
Library → dev → qa → prod) exactly ascosa/WIRING.mdalready documents.From OKD: OLM + the Butane/MachineConfig lineage already in
socios-ignition(butane/openshift/{master,worker}-minimal.bu).From Talos: the posture — no SSH, no shell, day-2 config via API with signed receipts.
Kept: OSTree base,
caps/+ guard-DSL +nft/egress, PXE/live-USB installers, channels, and the Foreman/Katello + Tekton rollout lane.Why not the off-the-shelf options
Honest limits recorded in the ADR
cosa/manifests/sourceos-workstation.yamlis vendored and its crypto packages overridden (that file's existingTODO).cosa buildneeds/dev/kvm. The current GKE cluster is Autopilot (confirmed viawarden-*webhooks) and cannot provide it — an independent argument for moving the build tier off Autopilot.action_runner/action_taskboth empty), so ordering is runner → image build → node flavor → CAPI.Open questions (flagged, not decided)
Status is
proposed— this is the decision record to argue with before implementation re-points the existing IaC.