Placement integration v4#1098
Conversation
This squashes 527 commits from placement-operator history for clean intergration. Full detailed history is preserved in the original placement-operator repo at https://github.com/openstack-k8s-operators/placement-operator The placement-operator code will be restructured as per nova-operator multi-group structure.
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/
reorganize placement test structure to match nova-operator patterns - moves functional tests to test/functional/placement/ - moves kuttl tests to test/kuttl/test-suites/placement/ - move kuttl-test.yaml as config.yaml in test suite director - updates test suite config with proper namespace and paths - Fixes symlinks to point to correct sample file locations
adds placement test suite with shared deps files symlinked from default/deps to maintain consistency across test suit.
Remove 'placement' prefix from filenames within placement directories to match existing naming conventions ex: placementapi_types.go → placement/api_types.go
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
Update kustomization.yaml to include placement samples
Update controller-gen paths to process both nova and placement APIs
- 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
Updated Makefile to include placement webhook paths in controller-gen
Adds getTemplateInstanceType in placement/common.go
Remove placement-import directory - all code has been moved Add generated files from 'make manifests
|
[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 |
|
recheck nova-operator-kuttl failed with unrelated issue |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e90fe1846cdc4d02a69d1b38e5cab8dd ✔️ openstack-meta-content-provider SUCCESS in 4h 36m 09s |
|
recheck
|
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/bc8d63adb4774e108f002d8fd62ce1ad ✔️ openstack-meta-content-provider SUCCESS in 3h 17m 15s |
|
recheck unrelated cifw issue |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b66f7a7da913491197b5e54de634a4af ❌ openstack-meta-content-provider FAILURE in 4m 32s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e7c8cab15d5c419f8dcc0eb3b2c0a2db ❌ openstack-meta-content-provider FAILURE in 4m 25s |
|
recheck |
Move placement-operator/main into nova-operator.
This squashes 527 commits from placement-operator history for clean
intergration.
Full detailed history is preserved in the original placement-operator
repo at https://github.com/openstack-k8s-operators/placement-operator
The placement-operator code will be restructured as per nova-operator
multi-group structure.