-
Notifications
You must be signed in to change notification settings - Fork 5
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
add wlid annotation to networkneighbors #157
Conversation
Signed-off-by: Matthias Bertschy <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
PR Description updated to latest commit (4f82476) |
PR Analysis
PR Feedback
How to useInstructions
|
Summary:
|
@@ -11,7 +11,7 @@ require ( | |||
github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb | |||
github.com/google/uuid v1.4.0 | |||
github.com/goradd/maps v0.1.5 | |||
github.com/inspektor-gadget/inspektor-gadget v0.23.0 | |||
github.com/inspektor-gadget/inspektor-gadget v0.23.1 |
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.
why?
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.
this is the release they did for me, fixing dns tracing on minikube
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.
instead of using my fork
Type
Enhancement
Description
This PR introduces several changes:
wlid
annotation is added to network neighbors in thenetwork_manager.go
andnetwork_neighbors.go
files. This is done by modifying thegenerateNetworkNeighborsCRD
function to includeclusterName
as a parameter and using it to generate thewlid
.generateNetworkNeighborsCRD
function is also updated in thenetwork_neighbors_test.go
file to reflect the changes.inspektor-gadget
is updated fromv0.23.0
tov0.23.1
in thego.mod
file.Main files walkthrough
files:
pkg/networkmanager/network_manager.go
: ThegenerateNetworkNeighborsCRD
function is called with an additionalclusterName
parameter. This is done in two places within thehandleContainerStarted
andhandleNetworkEvents
functions.pkg/networkmanager/network_neighbors.go
: ThegenerateNetworkNeighborsCRD
function is updated to includeclusterName
as a parameter and use it to generate thewlid
for theNetworkNeighbors
object.pkg/networkmanager/network_neighbors_test.go
: ThegenerateNetworkNeighborsCRD
function is updated in the test cases to include theclusterName
parameter.go.mod
: The version ofinspektor-gadget
is updated fromv0.23.0
tov0.23.1
. The replace directive forinspektor-gadget
is removed.go.sum
: The checksums for the new version ofinspektor-gadget
are added and the old ones are removed.