Placement integration#1092
Conversation
Import complete placement-operator codebase into placement-import directly using git subtree merge to preserve full commit history this merge connects plaement git history to nova-operator, enabling git blame and git log to show original authors and commit history of all placement code
Move types from placement-import/api/v1beta1/ to api/placement/v1beta1 following nova-operator multigroup structure
Move controller from placement-import/internal/controller/ to internal/controller/placement
Move placement business logic from placement-import/internal/placement to internal/placement/ to keep alongside nova business logic
Move webhook from placement-import/internal/webhook/v1beta1/ to internal/webhook/placement/v1beta1/
Move placement templates from placement-import/templates/placementapi/ to templates/placement/api/
Move placement tests from placement-import/test/ to test/functional/placement/
Move placement CRD to config/crd/bases/ and remove all remaining placement-import/ files
Update all import paths in placement code from github.com/openstack-k8s-operators/placement-operator/api/v1beta1 to github.com/openstack-k8s-operators/nova-operator/api/placement/v1beta1 and github.com/openstack-k8s-operators/placement-operator/internal/placement github.com/openstack-k8s-operators/nova-operator/internal/placement package name update functional_test to placement_test
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: auniyal61 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- Register PlacementAPI controller in cmd/main.go - Register PlacementAPI webhook in cmd/main.go - Add placement scheme and defaults initialization - Fix placement test paths after moving to test/functional/placement/ - Add placement API to test coverage in Makefile
370c3b8 to
d0cc289
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/420d0163be234e7db60b815d59719b07 ✔️ openstack-meta-content-provider SUCCESS in 3h 01m 45s |
Updated Makefile to include placement webhook paths in controller-gen
Adds getTemplateInstanceType in placement/common.go
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8aadee82920a42098d1f007ecfb8aa45 ✔️ openstack-meta-content-provider SUCCESS in 3h 06m 50s |
Closes: OSPRH-26916