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

Updates to the falco-driver-loader script #1158

Merged
merged 4 commits into from
Apr 24, 2020
Merged

Conversation

leodido
Copy link
Member

@leodido leodido commented Apr 23, 2020

What type of PR is this?

/kind cleanup

/kind feature

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

This PR refactors the falco-driver-builder in order to support the downloading from the upcoming "drivers build grid".

Which issue(s) this PR fixes:

Fixes #1125

Special notes for your reviewer:

Docs need to be updated in order to show to users an alternative approach of installing the Falco driver through the falco-driver-loader script (present into the container).

Does this PR introduce a user-facing change?:

BREAKING CHANGE: the falco-driver-loader script now references `falco-probe.o` and `falco-probe.ko` as `falco.o` and `falco.ko`
update: containers look for prebuilt drivers on the Drivers Build Grid

leodido and others added 3 commits April 22, 2020 17:22
…odules URLs

The new Falco kernel modules URLs are:
`<base_url>/kernel-module/<driver_version>/falco_<target_id>_<kernel_release>_<kernel_version>`

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
eBPF probes coming from the drivers build grid

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
DBG stands for Drivers Build Grid, a repository holding a set of
prebuilt drivers (both Falco kernel modules and Falco eBPF probes).

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leogr
Copy link
Member

leogr commented Apr 23, 2020

Hey @leodido

Side note (just a reminder for me):
Although this PR mostly fixes #1125, one point is missing (about separately distributing the script as we discussed again during yesterday's community call).
Thus, I wanted just to let you know I'm going to open a separate issue that we can fix later, so there's nothing to modify in this PR.

Moreover, I'm really happy to see this PR 🥳
Thank you

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido leodido changed the title Updates to the falco-driver-loader Updates to the falco-driver-loader script Apr 23, 2020
@leodido
Copy link
Member Author

leodido commented Apr 23, 2020

/cc @fntlnz

@poiana poiana requested a review from fntlnz April 23, 2020 17:15
@poiana
Copy link
Contributor

poiana commented Apr 23, 2020

LGTM label has been added.

Git tree hash: 5cf2f9b07a81001ca5b302795da711b21148e89d

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

LGTM, too 🥳

@poiana
Copy link
Contributor

poiana commented Apr 24, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz, leogr

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

@leogr leogr added this to the 0.23.0 milestone May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

falco-driver-loader improvements proposal
4 participants