-
Notifications
You must be signed in to change notification settings - Fork 897
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
Break apart logic in falco-driver-loader
or rename the script
#1193
Comments
I think I like this proposal Kreees. :)) BTW, that script already has the |
Thank you for reading it! I was thinking about this on the call but didn't want to pollute the conversation with yet another thing to talk about. So I wrote it down instead for us. |
I like the proposal to modularize the script, as already said here. 🥳 Just a thought: I don't see the need for renaming it because loading the driver should still be the primary responsibility of the script. Skipping the loading seems to me like a "dry-run", or is there a specific use case for that? I would be okay with the current name and just add arguments and flags to modify its default behavior. So I'm for path 2. Thank you for having written it! |
This LGTM
|
I can work on that |
Motivation
Right now our documentation and our calls use the term
loader
to define the behavior of this script.I think that the name could be improved to clarify exactly what the script is doing.
I also believe that the script should be dynamic and configurable to perform single tasks without making assumptions on behalf of the user.
Feature
Right now the script performs multiple phases of logic within monolithic functions that perform more than one task.
For instance
load_kernel_module
does more than justload
something. It also tries to download a kernel module, it also tries to compile a kernel module.I think we should take one of 2 paths
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: