Skip to content

WIP: Add HypervisorConfigSet and HypervisorConfigOverride CRDs#329

Draft
fwiesel wants to merge 2 commits into
ssafrom
hypervisor-config-sets-and-override
Draft

WIP: Add HypervisorConfigSet and HypervisorConfigOverride CRDs#329
fwiesel wants to merge 2 commits into
ssafrom
hypervisor-config-sets-and-override

Conversation

@fwiesel

@fwiesel fwiesel commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Work in progress — not ready for review.

Introduces two new CRDs for per-hypervisor configuration management:

  • HypervisorConfigSet: a named template of config values that can be applied to a set of hypervisors
  • HypervisorConfigOverride: per-hypervisor overrides on top of a ConfigSet

Wires the override lookup into HypervisorController so that per-node config values are resolved at reconcile time.

Depends on: ssa (#302).

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 37b19f56-58c1-4007-a717-d718f99b0517

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hypervisor-config-sets-and-override

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fwiesel fwiesel force-pushed the ssa branch 2 times, most recently from 4c09880 to 9d785cb Compare July 9, 2026 17:56
@fwiesel fwiesel force-pushed the hypervisor-config-sets-and-override branch from 78b54fe to aad77eb Compare July 9, 2026 18:11
@fwiesel fwiesel force-pushed the hypervisor-config-sets-and-override branch from aad77eb to 8fd5511 Compare July 9, 2026 18:34
Standard Kubernetes label selector descriptions in generated CRD YAML
use 'ANDed' (e.g. 'matchExpressions are ANDed'), which the typos checker
flags as a misspelling of 'Dead'.
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

⚠️ Note: Baseline coverage from ssa branch is not available (artifact may be expired). Showing current coverage for changed files only.

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1 0.00% (ø)
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations 0.00% (ø)
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1 0.00% (ø)
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/internal 0.00% (ø)
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller 68.90% (+68.90%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1/hypervisor_config_override_types.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1/hypervisor_config_set_types.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1/zz_generated.deepcopy.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigoverride.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigoverridespec.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigoverridestatus.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigset.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigsetspec.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigsetstatus.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigsettemplate.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/api/v1/hypervisorconfigspec.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/internal/internal.go 0.00% (ø) 6 (+6) 0 6 (+6)
github.com/cobaltcore-dev/openstack-hypervisor-operator/applyconfigurations/utils.go 0.00% (ø) 0 0 0
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/hypervisor_controller.go 78.99% (+78.99%) 119 (+119) 94 (+94) 25 (+25) 🌟

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

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