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

refactor(userspace/libsinsp)!: remove legacy metadata clients for k8s and mesos #1478

Merged
merged 2 commits into from Nov 9, 2023

Conversation

jasondellaluce
Copy link
Contributor

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

/area libsinsp

Does this PR require a change in the driver versions?

What this PR does / why we need it:

In coordination with @Andreagit97 and @alacuku with regards to falcosecurity/falco#2973 and falcosecurity/falco#2763, this PR introduces the breaking changes required to removing the metadata clients of k8s and mesos from our codebase.

This removes all the files related to the implementation of the clients, plus all the code related to them in other classes (such as sinsp and filterchecks). This preserves the k8s.* and mesos.* filterchecks classes, which will be cleaned up in a future PR due to some additional challenges specific to them.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Removing these 25k LOC gives me quite a trill and a totally expected feeling of joy.

Does this PR introduce a user-facing change?:

refactor(userspace/libsinsp)!: remove legacy metadata clients for k8s and mesos

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
@jasondellaluce
Copy link
Contributor Author

/milestone 0.14.0

@poiana poiana added this to the 0.14.0 milestone Nov 8, 2023
@poiana poiana added the size/XXL label Nov 8, 2023
@FedeDP
Copy link
Contributor

FedeDP commented Nov 8, 2023

Uh a small cleanup over here. 🤣

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

@poiana
Copy link
Contributor

poiana commented Nov 9, 2023

LGTM label has been added.

Git tree hash: 0f568701a6ad36e2d0e1e5c95a5f8489ff014607

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 Nov 9, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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,jasondellaluce]

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

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.

None yet

4 participants