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

Add OSIE files and location customization: #534

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

jacobweinstock
Copy link
Member

Description

This plumbs through the spec.interfaces[].netboot.osie from the v1alpha1 API into Smee for customization of the auto.ipxe script. This allow Hardware objects to customize the OSIE file and location. Currently,
only a global CLI flag was available.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

Attention: Patch coverage is 34.78261% with 15 lines in your changes missing coverage. Please review.

Project coverage is 52%. Comparing base (dae0625) to head (ae9335b).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
internal/ipxe/script/ipxe.go 0% 5 Missing and 3 partials ⚠️
internal/backend/kube/kube.go 44% 4 Missing and 1 partial ⚠️
cmd/smee/main.go 0% 1 Missing ⚠️
internal/ipxe/http/http.go 0% 1 Missing ⚠️
Additional details and impacted files
@@         Coverage Diff         @@
##           main   #534   +/-   ##
===================================
- Coverage    52%    52%   -1%     
===================================
  Files        26     26           
  Lines      2139   2157   +18     
===================================
+ Hits       1126   1133    +7     
- Misses      977    985    +8     
- Partials     36     39    +3     

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

This plumbs through the spec.interfaces[].netboot.osie
from the v1alpha1 API into Smee for customization of
the auto.ipxe script. This allow Hardware objects to
customize the OSIE file and location. Currently,
only a global CLI flag was available.

Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
It was safecast parsing the wrong value.

Signed-off-by: Jacob Weinstock <[email protected]>
Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock merged commit 2a58e52 into tinkerbell:main Oct 14, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant