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: extend multi-tenancy for LinodeMachines #163

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

cbzzz
Copy link
Contributor

@cbzzz cbzzz commented Mar 5, 2024

What type of PR is this?
/kind feature

What this PR does / why we need it:
Updates LinodeMachines to be able to supply an (optional) CredentialsRef field to override the credentials of their owner LinodeCluster.

This allows for a (potentially future) enhancement where clusters can provision Linode resources cross-account.

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:
This is being introduced now (rather than when the feature is determined to be absolutely needed) to provide a more stable API during development. However, we may wait to add this feature since:

  1. The setting introduced is optional. Adding it later would have no effect on existing clusters post-addition.
  2. We are allowed to break, drop support, etc. for alpha APIs without notice: https://kubernetes.io/docs/reference/using-api/#api-versioning

TODOs:

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

Updates LinodeMachines to be able to supply an (optional) CredentialsRef field to override the
credentials of their owner LinodeCluster.

This allows clusters to provision Linode resources cross-account.
@eljohnson92
Copy link
Collaborator

LGTM

@cbzzz cbzzz merged commit 4c79ecb into main Mar 6, 2024
6 checks passed
@cbzzz cbzzz deleted the feat.multi-tenancy.machine branch March 6, 2024 15:08
@AshleyDumaine AshleyDumaine added the feature New feature or request label Mar 7, 2024
amold1 pushed a commit that referenced this pull request May 17, 2024
* feat: extend multi-tenancy for LinodeMachines

Updates LinodeMachines to be able to supply an (optional) CredentialsRef field to override the
credentials of their owner LinodeCluster.

This allows clusters to provision Linode resources cross-account.

* docs: update multi-tenant clusters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants