Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Directory provisioning #1408

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bertinatto
Copy link
Member

This is an ongoing effort to rebase #732.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 10, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bertinatto
Once this PR has been reviewed and has the lgtm label, please assign wongma7 for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 10, 2024
@bertinatto
Copy link
Member Author

/retest

jonathanrainer and others added 7 commits July 26, 2024 15:57
As a first step towards introducing a new provisioning method we
need to introduce a new Interface called Provisioner. This allows us
to simply call the Provision() method on structs that implement this
interface, meaning we can expand the supported methods. This also
means we can pull the GidAllocator out of the driver and into the
AccessPointProvisioner which necessitated some test changes.

GidAllocator may well move back into the driver later on as we may
well need to share it across the different provisioners.
…sioning

Now that we have the interface we can move Deletion behind an interface method too.
Now the stage is set to start refactoring the tests in controller_test.go as they
cover a lot that isn't actually necessary and could be tested via the provisioner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants