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

[feat] - Support for firewalling control plane #169

Closed
wants to merge 5 commits into from

Conversation

AshleyDumaine
Copy link
Member

@AshleyDumaine AshleyDumaine commented Mar 6, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:
This adds a new LinodeFirewall CRD (w/o a reconciler for now) for Cloud Firewall support. If a LinodeCluster has a Control Plane Firewall ID set, the control plane node IPs and the control plane endpoint (e.g. NB) IP will be added to it.

The LinodeCluster reconciler doesn't create LinodeFirewall k8s resources, instead it creates/updates/deletes a Cloud Firewall for the control plane based on the ControlPlaneFirewallSpec.

We might later want to add a controller to reconcile LinodeFirewall resources so additional Cloud Firewalls can be created by CAPL that can apply to Linodes and/or NBs (e.g. https://github.com/linode/cluster-api-provider-linode/tree/firewall-controller)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@AshleyDumaine AshleyDumaine added feature New feature or request documentation Improvements or additions to documentation go Pull requests that update Go code labels Mar 7, 2024
@AshleyDumaine
Copy link
Member Author

I've opened up an issue on the CCM repo to get CCM-managed firewalls added so we can remove a large chunk of this logic since we already need the CCM as part of workload clusters. CCM-managed Firewalls are a new feature on the CCM for NBs and it shouldn't be too much of a lift to extend support for Linodes too.

@AshleyDumaine
Copy link
Member Author

Closing for now

@AshleyDumaine AshleyDumaine deleted the control-plane-fw branch October 15, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant