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

cleanup!(cmake): dropped bundled plugins since falcoctl takes care of everything #2997

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Jan 8, 2024

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

Since:

  • falcoctl takes care of installing plugins
  • rpm/deb host installation requires further configuration anyway when wishing to run with plugins
  • charts make use of falcoctl to install plugins

Completely drop plugins shipped in Falco bundle.
This way, we will have a single way to install and enable plugins (using falcoctl + updating the Falco config) for any environment where Falco is going to be installed.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

cleanup!(cmake): drop bundled plugins in Falco

@FedeDP
Copy link
Contributor Author

FedeDP commented Jan 8, 2024

/hold

@FedeDP
Copy link
Contributor Author

FedeDP commented Jan 8, 2024

/milestone 0.37.0

@poiana poiana added this to the 0.37.0 milestone Jan 8, 2024
@FedeDP
Copy link
Contributor Author

FedeDP commented Jan 8, 2024

Will update #2763 issue once we all agree.
cc @falcosecurity/core-maintainers

@Andreagit97
Copy link
Member

Andreagit97 commented Jan 8, 2024

agree with this! but this is a breaking change so in case I would add a !

@FedeDP
Copy link
Contributor Author

FedeDP commented Jan 8, 2024

It is already there (at least in the release notes); will add it to title too.

@FedeDP FedeDP changed the title cleanup(cmake): dropped bundled plugins since falcoctl takes care of everything cleanup!(cmake): dropped bundled plugins since falcoctl takes care of everything Jan 8, 2024
@FedeDP FedeDP force-pushed the cleanup/remove_bundled_plugins branch 4 times, most recently from 033737b to 4eec106 Compare January 9, 2024 10:17
…plugin before running tests.

Signed-off-by: Federico Di Pierro <[email protected]>
@FedeDP FedeDP force-pushed the cleanup/remove_bundled_plugins branch from 4eec106 to efda35a Compare January 9, 2024 10:49
- name: Install needed artifacts using falcoctl
if: ${{ inputs.static == false }}
run: |
sudo mkdir -p /usr/share/falco/plugins
Copy link
Member

Choose a reason for hiding this comment

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

so the e2e tests now look at plugins + rules under /usr/share/falco/plugins instead of relying on the ones bundled in the tar.gz. This is possible without modification because /usr/share/falco/ and /etc/falco are the default paths, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

Copy link
Contributor

@incertum incertum left a comment

Choose a reason for hiding this comment

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

Truly thanks for the cleanup!

/approve

@poiana
Copy link
Contributor

poiana commented Jan 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP, incertum

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:
  • OWNERS [Andreagit97,FedeDP,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@FedeDP
Copy link
Contributor Author

FedeDP commented Jan 11, 2024

/unhold

@poiana poiana merged commit b5e64c5 into master Jan 11, 2024
28 checks passed
@poiana poiana deleted the cleanup/remove_bundled_plugins branch January 11, 2024 08:08
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