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

Copy Rufio Machine v1alpha1 types from upstream: #6721

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

jacobweinstock
Copy link
Member

Issue #, if available:

Description of changes:
This allows us to not have to import Rufio. Rufio uses controller-runtime v0.15.0 (and soon v0.16.2). EKS Anywhere use v0.14.2. Upgrading EKS Anywhere means all other dependent libraries will need upgraded too. This is not feasible at the moment from a time perspective, there are too many to update. For example: capv, capc, capd, abhay-krishna/cluster-api, aws/etcdadm-bootstrap-provider, etc.

Testing (if applicable):

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Sep 22, 2023
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c6ff83b) 75.66% compared to head (ce7ab78) 75.66%.
Report is 20 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6721   +/-   ##
=======================================
  Coverage   75.66%   75.66%           
=======================================
  Files         475      475           
  Lines       38404    38404           
=======================================
  Hits        29059    29059           
  Misses       7733     7733           
  Partials     1612     1612           
Files Coverage Δ
pkg/executables/kubectl.go 58.54% <ø> (ø)
pkg/providers/tinkerbell/hardware/catalogue.go 33.33% <ø> (ø)
pkg/providers/tinkerbell/hardware/catalogue_bmc.go 93.10% <ø> (ø)
pkg/providers/tinkerbell/hardware/kubereader.go 69.38% <ø> (ø)
pkg/providers/tinkerbell/reconciler/reconciler.go 84.22% <ø> (ø)
pkg/providers/tinkerbell/upgrade.go 62.66% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This allows us to not have to import Rufio.
Rufio uses controller-runtime v0.15.0 (and soon v0.16.2).
EKS Anywhere use v0.14.2. Upgrading EKS Anywhere means all
other dependent libraries will need upgraded too. This is
not feasible at the moment from a time perspective, there
are too many to update. For example: capv, capc, capd,
abhay-krishna/cluster-api, aws/etcdadm-bootstrap-provider, etc.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This was missed from upstream. Also, it
allows for not including these internal structs
when they are nil. Helpful in yaml marshalling, etc.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Copy link
Contributor

@chrisdoherty4 chrisdoherty4 Oct 4, 2023

Choose a reason for hiding this comment

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

More of an organizational thing, but I don't think we'd want third party APIs under the api pkg because this seems like an internal concern and not something we're interested in advertising outwardly.

We do have /pkg/providers/tinkerbell/rufiounreleased. Perhaps we compartmentalize that to /pkg/providers/tinkerbell/rufio/api/{unreleased,v1alpha1}?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ignore this. I didn't realize the thirdparty already exists.

@chrisdoherty4
Copy link
Contributor

/approve

@jacobweinstock
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrisdoherty4, jacobweinstock

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 [chrisdoherty4,jacobweinstock]

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

@eks-distro-bot eks-distro-bot merged commit 2e83623 into aws:main Oct 6, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants