Skip to content

release: v0.5.1 — controller/CLI hardening, pool metrics, and documentation cleanup - #14

Merged
celttechie merged 2 commits into
mainfrom
release/v0.5.1
Nov 14, 2026
Merged

celttechie merged 2 commits into
mainfrom
release/v0.5.1

Conversation

@celttechie

Copy link
Copy Markdown
Owner

Summary

Release v0.5.1 hardens controller reconciliation and CLI error paths, adds Prometheus pool replica metrics (uds_vm_pool_replicas), removes duplicated test/CLI/documentation artifacts, and aligns manifests and runbooks with v0.5.1.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation / Compliance / Release update

Changes Made

Controller, CLI & Tests (c6418a2)

  • Controller Hardening: Replaced resource.MustParse on spec.dataDisks[].size with safe resource.ParseQuantity error handling (reconciler.go), incremented uds_vm_reconcile_total{status="error"} on reconcile errors, populated uds_vm_storage_overhead_ratio from CalculatedPVCSize, and used meta.SetStatusCondition with ObservedGeneration.
  • Pool Reconciler & Metrics: Wrapped UDSVirtualMachinePool status updates in retry.RetryOnConflict (skipping redundant updates) and added uds_vm_pool_replicas{pool, namespace, state} (desired, active, ready, updated, outdated).
  • CLI & Test Deduplication: Added the SOURCE column to uds-vmctl inventory, removed redundant namespace == "" fallbacks in cmd/uds-vmctl/main.go and pkg/cli/power.go, and unified pool/VM test schemes on newTestReconcilerScheme().

Documentation, Manifests & Version Bump (a15369a)

  • Docs Cleanup: Removed HANDOFF.md, deduplicated inline ADR essay in README.md into the ADR index table, and updated README.md, ROADMAP.md, docs/end-to-end-verification-runbook.md, docs/plan-golden-images-rolling-updates-persistence.md, docs/windows-troubleshooting.md, and .github/pull_request_template.md.
  • CRD & Examples: Added Kubernetes quantity pattern validation on spec.memory and spec.dataDisks[].size in manifests/crd/udsvirtualmachines.uds.dev.yaml and added manifests/examples/tactical-vm-pool.yaml.
  • Release Bump: Updated version references to v0.5.1 / 0.5.1 across Makefile, cmd/uds-vmctl/main.go, zarf.yaml, manifests/operator/deployment.yaml, and compliance/oscal-component.yaml.

Testing & Verification

  • go vet ./... — passed.
  • go test -v -race -cover -count=1 ./... — 49/49 tests passing.
  • make build & make zarf-build — built ghcr.io/celttechie/uds-vm-operator:v0.5.1 and zarf-package-uds-vm-operator-amd64-0.5.1.tar.zst.
  • Deployed 0.5.1 Zarf package to kubevirt-sandbox (tactical-sensor-vm Ready, uds-vmctl inventory verified with SOURCE column).
  • make lula-validate — 4/4 OSCAL controls (ia-5, ac-3, sc-7, si-7) satisfied.
  • UDSVirtualMachinePool (tactical-vm-pool) provisioned 2 CDI-cloned replicas and completed a rolling update (cpus: 2 -> 3, maxSurge: 1, maxUnavailable: 0) to Ready with uds_vm_pool_replicas verified on /metrics.

Checklist

  • go vet ./... and go test -v -race -cover -count=1 ./... pass locally
  • Manifests and Zarf package build validated
  • Documentation and compliance artifacts updated

@celttechie
celttechie merged commit 9724276 into main Nov 14, 2026
3 checks passed
@celttechie
celttechie deleted the release/v0.5.1 branch November 14, 2026 14:15
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