Skip to content

Implement Limit controller - #868

Open
chenwng wants to merge 13 commits into
k-orc:mainfrom
chenwng:limit-controller
Open

Implement Limit controller#868
chenwng wants to merge 13 commits into
k-orc:mainfrom
chenwng:limit-controller

Conversation

@chenwng

@chenwng chenwng commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR implements the controller for Limit in Keystone.

Region is not included in the spec as it is not available in ORC yet.

As Limit depends on RegisteredLimit which hasn't been merged yet, a setup deployment is used in e2e test cases to create required RegisteredLimits and remove them when tearing down cases. The deployment is also used to disable created Domains to facilitate the deletion of them.

Close #851

chenwng added 9 commits July 28, 2026 11:40
go run ./cmd/scaffold-controller -interactive=false \
    -kind=Limit \
    -gophercloud-client=NewIdentityV3 \
    -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/identity/v3/limits \
    -gophercloud-type=Limit \
    -openstack-json-object=limit \
    -available-polling-period=0 \
    -deleting-polling-period=0 \
    -required-create-dependency=Service \
    -optional-create-dependency=Project \
    -optional-create-dependency=Domain \
    -import-dependency=Service \
    -import-dependency=Project \
    -import-dependency=Domain
@github-actions github-actions Bot added the semver:major Breaking change label Jul 28, 2026
@chenwng
chenwng force-pushed the limit-controller branch from c416088 to e556212 Compare July 28, 2026 14:22
Update generated resources to reflect the addition of description in Limit spec
Update the OLM bundle
@chenwng
chenwng force-pushed the limit-controller branch from e556212 to 0b8d70e Compare July 29, 2026 11:06
Comment thread internal/controllers/limit/actuator.go Outdated
Comment thread internal/controllers/limit/actuator.go Outdated

@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 Winston, great job on the PR!! , I left a few comments after a quick first look, I am looking into it more but just to show you what I found so far WDYT?

Comment thread internal/controllers/limit/actuator.go Outdated
Comment thread internal/controllers/limit/actuator.go Outdated
Comment thread internal/controllers/limit/tests/utils/main.go Outdated
chenwng added 2 commits July 29, 2026 14:47
Fix parameters in dependencies in Limit actuator
Fix default name in test utils
Debug CI e2e failures
@chenwng

chenwng commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @dlaw4608 for the review. I will fix them. At the same time, I am also trying to figure out the CI failures.

@chenwng
chenwng force-pushed the limit-controller branch from 0b8d70e to b41c2e4 Compare July 29, 2026 13:53
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.

Limits Controller

2 participants