Skip to content

docs(release): finalize v0.5.0 documentation and expand unit test coverage - #13

Merged
celttechie merged 2 commits into
mainfrom
docs/finalize-v0.5.0
Nov 14, 2026
Merged

celttechie merged 2 commits into
mainfrom
docs/finalize-v0.5.0

Conversation

@celttechie

Copy link
Copy Markdown
Owner

Summary of Changes

  • Updated default CLI version in cmd/uds-vmctl/main.go to v0.5.0.
  • Updated README.md, ROADMAP.md, and HANDOFF.md to reflect Milestone v0.5.0 completion (Phases 5A, 5B, 5C) and 48/48 passing Go unit tests with -race.
  • Added unit tests in pkg/apis/uds/v1alpha1/types_test.go (TestUDSVirtualMachinePool_DeepCopy, TestUDSVirtualMachinePoolList_DeepCopy) and pkg/controller/pool_reconciler_test.go (TestPoolReconciler_RecreateStrategy, TestPoolReconciler_ScaleToZero, TestPoolReconciler_NotFound).

Problem & Motivation

Finalizes Milestone v0.5.0 documentation, aligns CLI version metadata, and expands unit test coverage for PoolReconciler and UDSVirtualMachinePool API types ahead of tagging v0.5.0.

NIST 800-53 Compliance Checklist

  • SC-7 (Boundary Protection): Zero-Trust NetworkPolicy isolation maintained or updated.
  • AC-3 / IA-5 (Access Control & Identification): Cloud-Init hardening, SSH password restrictions, and FIPS enforcement verified.
  • SI-7 (Software & Information Integrity): CDI DataVolume upload cryptographic checksum verification (sha256:<hex>) validated.
  • SA-11 (Developer Security Testing): Automated Go (go test -race) and Python test suites pass without regressions.
  • CM-6 (Configuration Settings): CRD and declarative manifests pass validation schema.

Air-Gap & Edge Readiness

  • No unflattened QCOW2 external backing chains introduced.
  • All required artifacts/dependencies can be bundled in disconnected Zarf packages.
  • +6% CDI filesystem overhead calculation validated for storage sizing.

Testing & Verification

Automated Tests

go test -v -race -cover -count=1 ./...
# 48/48 passed (pkg/apis/uds/v1alpha1 88.7%, pkg/controller 87.5%, pkg/cli 74.7%, cmd/uds-vmctl 24.7%)

Live Cluster Verification

  • Tested on live K3s / KubeVirt cluster (kubevirt-sandbox)
  • Verified status subresource transitions (WaitingForUpload -> Ready)
  • Verified zarf package deploy, CDI DataSource fast-clone + Retain dataDisk, UDSVirtualMachinePool rolling update, DataSource swap (golden-linux-base -> golden-linux-v2), live scale-down (2 -> 1), Recreate strategy (cpus: 1 -> 2), and lula validate (4/4 OSCAL controls satisfied).

Documentation

  • README.md updated if API or operational behavior changed.
  • CRD manifests updated and synchronized with Go types.

- Add PoolReconciler unit tests for Recreate strategy, scale-to-zero, and NotFound handling
- Add DeepCopy unit tests for UDSVirtualMachinePool and UDSVirtualMachinePoolList
- Update README.md and HANDOFF.md test counts from 43 to 48
@celttechie
celttechie merged commit 13ddea8 into main Nov 14, 2026
3 checks passed
@celttechie
celttechie deleted the docs/finalize-v0.5.0 branch November 14, 2026 04:25
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