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

fix(userspace/falco): use container_engines.cri.sockets in load_yaml #3453

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

zayaanmoez
Copy link
Contributor

@zayaanmoez zayaanmoez commented Jan 16, 2025

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area engine

What this PR does / why we need it:

Since falco 0.39.0, the cri flag is deprecated but the recommended flag -o container_engines.cri.sockets[]=<socket_path> or the config file sockets values are not being applied since falco is trying to load the values from container_engines.cri.cri

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Yes

fix(userspace/falco): fix container_engines.cri.sockets not loading from config file

@poiana
Copy link
Contributor

poiana commented Jan 16, 2025

Welcome @zayaanmoez! It looks like this is your first PR to falcosecurity/falco 🎉

@poiana poiana requested review from Kaizhe and LucaGuerra January 16, 2025 18:57
@poiana poiana added the size/XS label Jan 16, 2025
@LucaGuerra
Copy link
Contributor

/milestone 0.40.0

@poiana poiana added this to the 0.40.0 milestone Jan 16, 2025
@LucaGuerra
Copy link
Contributor

Great catch! Thank you!

@poiana
Copy link
Contributor

poiana commented Jan 16, 2025

LGTM label has been added.

Git tree hash: 01d5b62c2f6bb65e6537ca079b63fd5df737e6f0

@FedeDP
Copy link
Contributor

FedeDP commented Jan 17, 2025

Ehy @zayaanmoez can you rebase on latest Falco master? It will fix the ci! Thank you very much!

@zayaanmoez zayaanmoez force-pushed the fix/cri_sockets_config branch from 43ff0ff to 72b8dd9 Compare January 17, 2025 14:19
@poiana poiana removed the lgtm label Jan 17, 2025
@poiana poiana requested review from LucaGuerra and sgaist January 17, 2025 14:19
@zayaanmoez zayaanmoez force-pushed the fix/cri_sockets_config branch from 72b8dd9 to 68b5c67 Compare January 17, 2025 15:06
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Jan 17, 2025

LGTM label has been added.

Git tree hash: 0f674e953256617003831bf0d06cac77d31f9a66

@poiana
Copy link
Contributor

poiana commented Jan 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, zayaanmoez

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

The pull request process is described 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

@poiana poiana merged commit 77b8355 into falcosecurity:master Jan 17, 2025
33 checks passed
@zayaanmoez zayaanmoez deleted the fix/cri_sockets_config branch January 17, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants