Skip to content

SwiftContainer: add controller#824

Open
eshulman2 wants to merge 4 commits into
k-orc:mainfrom
eshulman2:swiftcontainer-controller
Open

SwiftContainer: add controller#824
eshulman2 wants to merge 4 commits into
k-orc:mainfrom
eshulman2:swiftcontainer-controller

Conversation

@eshulman2

@eshulman2 eshulman2 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a SwiftContainer API and controller for managing Swift containers
  • add name-based import handling, metadata and ACL reconciliation, generated clients, CRD/RBAC wiring, and manager registration
  • add unit tests, KUTTL suites, examples, and CRD documentation

Scaffold the SwiftContainer controller using the controller generator:

$ go run ./cmd/scaffold-controller -interactive=false     -kind=SwiftContainer     -gophercloud-client=NewObjectStorageV1     -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/objectstorage/v1/containers     -gophercloud-type=Container     -openstack-json-object=container
Add the SwiftContainer API, generated clients, OpenStack client wrapper, controller wiring, status writer, and reconciliation logic.

Swift containers are name-addressed, so the controller uses the container name as the ORC status ID and adds custom import handling for name-based imports.
Add unit coverage for Swift container import, adoption, creation, validation, and OpenStack client behavior.

Add KUTTL suites for minimal and full creation, import success and failure, updates, and name validation, and enable Swift in the E2E environment.
Document SwiftContainer in the resource matrix and generated CRD reference, and add example manifests for create and import workflows.
@github-actions github-actions Bot added the semver:major Breaking change label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:major Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant