-
Notifications
You must be signed in to change notification settings - Fork 3.4k
plugins/cilium-cni: Move implementation into separate package #29336
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
Merged
squeed
merged 3 commits into
cilium:main
from
gandro:pr/gandro/cni-plugin-as-go-package
Nov 28, 2023
Merged
plugins/cilium-cni: Move implementation into separate package #29336
squeed
merged 3 commits into
cilium:main
from
gandro:pr/gandro/cni-plugin-as-go-package
Nov 28, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tklauser
approved these changes
Nov 23, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Rebased due to conflict on main. @nathanjsweet @tommyp1ckles Could I get a review on this? I'd like to merge this before the feature freeze in 3 days. |
This will be used for labels added by the CNI plugin. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
This commit moves the files implementing the `cilium-cni` binary to a different directory and does not contain any functional changes. In the next commit, we will restructure the package and bring back the `plugins/main.go`. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
This commit makes `plugins/cilium-cni/cmd` a proper package and moves the `main` entry point again back to it's original location. This will make it easier to re-use parts of the Cilium CNI plugin. Other than that, this commit contains no functional changes. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
efd5349
to
c0e2346
Compare
/test |
nathanjsweet
approved these changes
Nov 28, 2023
squeed
approved these changes
Nov 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/cni
Impacts the Container Networking Interface between Cilium and the orchestrator.
kind/cleanup
This includes no functional changes.
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit makes
plugins/cilium-cni
a proper Go package. This will make it easier to re-use parts of the Cilium CNI plugin out of tree. The first commit (which adds aCNI
label source) is also done for that purpose. It already has been used by out-of-tree Cilium API users.Review per commit
This PR contains no functional changes, besides allowing CNI plugin modifications out-of-tree.