✨ feat(schema): add optional mission.security field, populate install-kubevirt#2027
Merged
clubanderson merged 1 commit intomasterfrom Apr 15, 2026
Merged
✨ feat(schema): add optional mission.security field, populate install-kubevirt#2027clubanderson merged 1 commit intomasterfrom
clubanderson merged 1 commit intomasterfrom
Conversation
…-kubevirt Introduces an optional `security` array in the kc-mission-v1 schema alongside the existing `steps` / `uninstall` / `upgrade` / `troubleshooting` arrays. Each entry follows the same shape (`title` + `description`) so the console can render it with the existing StepCard component — no schema/scanner/build-index changes needed; the field is transparently handled by the existing JSON flow. Populates the first mission — install-kubevirt — with six realistic security bullets: 1. Cluster-scoped changes (CRDs, ClusterRoles, webhooks) 2. Privileged DaemonSet and host access (virt-handler, /dev/kvm, kubelet dir, Pod Security Admission caveat) 3. API server --allow-privileged=true requirement 4. Hardening: run virtctl with scoped RBAC, not cluster-admin 5. No /dev/kvm — emulation mode is slow but contained 6. Upstream security policy link This is the data contract for the UI Security tab work landing in kubestellar/console (SetupInstructionsDialog Security section + MissionDetailView Security tab). When `mission.security` is empty, the UI falls back to a link pointing at the overall docs/security/SECURITY-MODEL.md doc in the console repo. Follow-up missions to populate next (in order of recent engagement): install-chaos-mesh, install-kestra, install-modelpack-csi-driver, install-opencost, install-longhorn. Signed-off-by: Andrew Anderson <[email protected]>
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
🔍 Mission Scan Results📄
|
clubanderson
added a commit
to kubestellar/console
that referenced
this pull request
Apr 15, 2026
…detail Makes the security picture visible in-context at the two moments users care about — installing the Console itself and installing a CNCF project via a guided mission. Both surfaces link to the SECURITY-MODEL.md doc merged in #8203. Setup install modal (SetupInstructionsDialog.tsx): - New expandable "Security posture" section next to the Dev Guide / K8s Deploy / OAuth sections - Four subsections covering kc-agent posture, AI key handling, what leaves your machine, and the air-gapped / local-LLM option (framed as a security posture, not a feature gap — deliberately scoped to NOT conflate with the separate broader local-LLM support work) - "Read the full security model" link to docs/security/SECURITY-MODEL.md Mission Detail view (MissionDetailView.tsx): - New 5th tab: install / uninstall / upgrade / troubleshooting / **security** - Renders mission.security steps via the existing StepCard component - When mission.security is populated, adds a footer link to the overall SECURITY-MODEL.md so users always have a path to the full doc - When mission.security is empty, shows a helpful fallback with the global doc link and an "Suggest security notes" button (reuses the existing onImprove flow) Schema (lib/missions/types.ts): - Adds optional `security?: MissionStep[]` to the MissionExport interface. Backwards-compatible. Locale (locales/en/common.json): - Adds `missions.detail.tabs.security` and `missions.detail.tabs.securityEmpty` strings Paired with kubestellar/console-kb#2027 which introduces the schema-side `mission.security` array and populates the first mission (install-kubevirt). Signed-off-by: Andrew Anderson <[email protected]>
Contributor
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
clubanderson
added a commit
to kubestellar/console
that referenced
this pull request
Apr 16, 2026
…detail (#8210) Makes the security picture visible in-context at the two moments users care about — installing the Console itself and installing a CNCF project via a guided mission. Both surfaces link to the SECURITY-MODEL.md doc merged in #8203. Setup install modal (SetupInstructionsDialog.tsx): - New expandable "Security posture" section next to the Dev Guide / K8s Deploy / OAuth sections - Four subsections covering kc-agent posture, AI key handling, what leaves your machine, and the air-gapped / local-LLM option (framed as a security posture, not a feature gap — deliberately scoped to NOT conflate with the separate broader local-LLM support work) - "Read the full security model" link to docs/security/SECURITY-MODEL.md Mission Detail view (MissionDetailView.tsx): - New 5th tab: install / uninstall / upgrade / troubleshooting / **security** - Renders mission.security steps via the existing StepCard component - When mission.security is populated, adds a footer link to the overall SECURITY-MODEL.md so users always have a path to the full doc - When mission.security is empty, shows a helpful fallback with the global doc link and an "Suggest security notes" button (reuses the existing onImprove flow) Schema (lib/missions/types.ts): - Adds optional `security?: MissionStep[]` to the MissionExport interface. Backwards-compatible. Locale (locales/en/common.json): - Adds `missions.detail.tabs.security` and `missions.detail.tabs.securityEmpty` strings Paired with kubestellar/console-kb#2027 which introduces the schema-side `mission.security` array and populates the first mission (install-kubevirt). Signed-off-by: Andrew Anderson <[email protected]>
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.
Summary
Introduces an optional `security` array in the `kc-mission-v1` schema, alongside the existing `steps` / `uninstall` / `upgrade` / `troubleshooting` arrays. Each entry follows the same `{ title, description }` shape, so the console's existing `StepCard` component can render it unchanged.
No scanner or build-index changes were needed — the field is transparently handled by the existing JSON flow (`build-index.mjs` only indexes top-level metadata; `scanner.mjs` operates on all string values regardless of field name). Backwards-compatible: missions without a `security` field continue to parse and render cleanly.
Populated mission: install-kubevirt.json
Six realistic security bullets as the first proof-of-concept, chosen because KubeVirt is one of the more security-sensitive installs in the catalog:
Context
Paired with two kubestellar/console UI PRs landing in parallel:
This PR is the data contract that the tab UI consumes. When `mission.security` is empty, the tab shows a "no mission-specific notes yet" state with a link to the overall security doc — so even missions without populated security content are useful.
Follow-up missions to populate next
In order of recent engagement:
Test plan