Skip to content

Keystone: Implement Region controller - #862

Open
gndrmnn wants to merge 10 commits into
k-orc:mainfrom
gndrmnn:implement_region
Open

Keystone: Implement Region controller#862
gndrmnn wants to merge 10 commits into
k-orc:mainfrom
gndrmnn:implement_region

Conversation

@gndrmnn

@gndrmnn gndrmnn commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Regions are weird in that they have an id field, which is used as a name (no UUID) but they lack a proper name field.

I took the liberty to do a name -> id mapping in the actuator and status as I think that makes more sense form a k-orc perspective. Though if you want I can rename the field to id just to be consistent with the upstream naming.

gndrmnn added 5 commits July 15, 2026 13:48
$ go run ./cmd/scaffold-controller -interactive=false \
    -kind=Region \
    -gophercloud-client=NewIdentityV3 \
    -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/identity/v3/regions \
    -gophercloud-type=Region \
    -openstack-json-object=region

On-behalf-of: SAP nils.gondermann@sap.com
Register with the resource generator

On-behalf-of: SAP nils.gondermann@sap.com
Add the OpenStack client to scope

On-behalf-of: SAP nils.gondermann@sap.com
Register the controller

On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com

@dlaw4608 dlaw4608 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @gndrmnn thanks for PR, I did a quick once over, this is what I saw so far 👍

Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
@gndrmnn
gndrmnn force-pushed the implement_region branch from 9fdcdd6 to 0c56e56 Compare July 23, 2026 14:26

@winiciusallan winiciusallan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @gndrmnn, great work! At a first glance, this looks very good to me. I left a few comments, but I'm still missing a review in the tests. Will do it later.

Comment thread api/v1alpha1/region_types.go Outdated
Comment thread api/v1alpha1/region_types.go Outdated
Comment thread api/v1alpha1/region_types.go Outdated
Comment thread internal/controllers/region/actuator.go Outdated
Comment thread test/apivalidations/region_test.go Outdated
@gndrmnn
gndrmnn force-pushed the implement_region branch from 0c56e56 to d82f54a Compare July 27, 2026 09:30
gndrmnn added 2 commits July 27, 2026 12:06
On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
@gndrmnn
gndrmnn force-pushed the implement_region branch 2 times, most recently from 383a3ed to b8f077d Compare July 27, 2026 11:02
@gndrmnn
gndrmnn requested a review from winiciusallan July 27, 2026 12:25

@winiciusallan winiciusallan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, looks very good. Thanks @gndrmnn! Just a nit comment, nothing blocking.

gndrmnn added 3 commits July 28, 2026 11:02
On-behalf-of: SAP nils.gondermann@sap.com
Generate the OLM bundle

On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
@gndrmnn
gndrmnn force-pushed the implement_region branch from b8f077d to d59d881 Compare July 28, 2026 09:03
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.

3 participants