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

Add --kernelversion and --kernelrelease options to falco driver loader entrypoint #3143

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

Sryther
Copy link
Contributor

@Sryther Sryther commented Mar 19, 2024

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area proposals

What this PR does / why we need it:

Automatic detection of Kernel version and Kernel release can be wrong in various cases. This PR aims to give access to falcoctl options already available when running falco-driver-loader in a sidecar.

Special notes for your reviewer:

None.

Does this PR introduce a user-facing change?:

NONE

…trypoint

Signed-off-by: Paul Rey <contact@paulrey.io>
@poiana
Copy link
Contributor

poiana commented Mar 19, 2024

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

@Sryther Sryther changed the title Add kernelversion and kernelrelease options to falco driver loader entrypoint Add --kernelversion and --kernelrelease options to falco driver loader entrypoint Mar 19, 2024
@poiana poiana added the size/M label Mar 19, 2024
@@ -109,9 +121,6 @@ while test $# -gt 0; do
shift
done

if [ -z "$has_opts" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gosh! My bad..

ENABLE_COMPILE="true"
ENABLE_DOWNLOAD="true"
fi
echo "Extra args: $extra_args"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is a debug echo right? We can drop it!

Remove debug log
Set default option ENABLE_COMPILE and ENABLE_DOWNLOAD

Signed-off-by: Paul Rey <contact@paulrey.io>
FedeDP
FedeDP previously approved these changes Mar 21, 2024
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 Mar 21, 2024

LGTM label has been added.

Git tree hash: d7c1f9972c8abf9a301a126428f6f67340569a48

@FedeDP
Copy link
Contributor

FedeDP commented Mar 21, 2024

/milestone 0.38.0

@poiana poiana added this to the 0.38.0 milestone Mar 21, 2024
The option is supported anymore in falcoctl

Signed-off-by: Paul Rey <contact@paulrey.io>
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
Thanks!

@poiana poiana added the lgtm label Mar 21, 2024
@poiana
Copy link
Contributor

poiana commented Mar 21, 2024

LGTM label has been added.

Git tree hash: bc8734ace1227d7e2da058aba0947986d9bbac12

@poiana
Copy link
Contributor

poiana commented Mar 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, leogr, Sryther

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 12cd72a into falcosecurity:master Mar 22, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants