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

bpf_metadata: cleanp proxylib in test bpfmetadata config #1132

Conversation

mhofstetter
Copy link
Member

@mhofstetter mhofstetter commented Jan 21, 2025

The logic that sets the proxylib l7 proto as requested application protocol on the network socket has been extracted from the function extractSocketMetadata.

But, the test bpfmetadata config still contains this functionality.

Therefore, this commit removes setting the requested application protocol on the network socket in the test bpfmetadata config. Tests that rely on this functionality should do this explicitly in the setup by calling the function configureProxyLibApplicationProtocol on the SocketMetadata struct.

Related to: #1129

The logic that sets the proxylib l7 proto as requested application
protocol on the network socket has been extracted from the function
`extractSocketMetadata`.

But, the test bpfmetadata config still contains this functionality.

Therefore, this commit removes setting the requested application protocol
on the network socket in the test bpfmetadata config. Tests that rely
on this functionality should do this in the setup explicitly.

Signed-off-by: Marco Hofstetter <[email protected]>
@mhofstetter mhofstetter requested a review from a team as a code owner January 21, 2025 11:00
@jrajahalme jrajahalme added this pull request to the merge queue Jan 22, 2025
Merged via the queue into cilium:main with commit f352503 Jan 22, 2025
5 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/bpfmetadata-cleanup-testconfig branch January 22, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants