Skip to content

WIP: Add Lease controller for Blazar support - #984

Closed
barnes-c wants to merge 5 commits into
k-orc:mainfrom
barnes-c:feat/lease-controller
Closed

barnes-c wants to merge 5 commits into
k-orc:mainfrom
barnes-c:feat/lease-controller

Conversation

@barnes-c

Copy link
Copy Markdown

Follow-up to #983: adds a Lease kind for Blazar

Current state:
14.10.26: branch only contains generated code + gophercloud version bump to include all Blazar resources

Bumping gophercloud so we have all of the current Blazar resources available

Signed-off-by: Christopher Barnes <christopher@barnes.biz>
@barnes-c
barnes-c marked this pull request as draft October 14, 2026 10:43
go run ./cmd/scaffold-controller -interactive=false \
      -kind=Lease \
      -gophercloud-client=NewReservationV1 \
      -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/reservation/v1/leases \
      -gophercloud-type=Lease \
      -openstack-json-object=lease \
      -available-polling-period=15 \
      -deleting-polling-period=15 \
      -optional-create-dependency=Flavor

Signed-off-by: Christopher Barnes <christopher@barnes.biz>
1. Post-scaffolding steps following https://k-orc.cloud/development/scaffolding/#post-scaffolding-steps
2. make generate
3. make generate-bundle

Signed-off-by: Christopher Barnes <christopher@barnes.biz>
@barnes-c
barnes-c force-pushed the feat/lease-controller branch from 09f1898 to 915b6e3 Compare October 14, 2026 10:44
@barnes-c

barnes-c commented Oct 14, 2026 •

Copy link
Copy Markdown
Author

915b6e3 contains the output of make generate and make generate-bundle.

The docs have a conflict there:
https://k-orc.cloud/development/contributing/#commit-structure says to include it in the generatede code commit
https://k-orc.cloud/development/scaffolding/#generate-the-olm-bundle says to do it after the implementation

@github-actions github-actions Bot added the semver:major Breaking change label Oct 14, 2026
@winiciusallan

Copy link
Copy Markdown
Member

The docs have a conflict there: https://k-orc.cloud/development/contributing/#commit-structure says to include it in the generatede code commit https://k-orc.cloud/development/scaffolding/#generate-the-olm-bundle says to do it after the implementation

Oh, good catch. This should resolve the conflict #986

Signed-off-by: Christopher Barnes <christopher@barnes.biz>
Signed-off-by: Christopher Barnes <christopher@barnes.biz>
@barnes-c barnes-c closed this by deleting the head repository Oct 15, 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.

2 participants