tinkerbell / tink

Workflow Engine for provisioning Bare Metal
https://tinkerbell.org
Apache License 2.0
937 stars 135 forks source link

WIP: Add auto capabilities: #946

Open jacobweinstock opened 6 months ago

jacobweinstock commented 6 months ago

Description

This adds the following auto capabilities:

discover: creates a Hardware object for each unknown worker. enrollment: creates Hardware and Workflow objects for each unknown worker. disabled: auto capabilities are disabled.

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:

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 3.77358% with 102 lines in your changes missing coverage. Please review.

Project coverage is 27.41%. Comparing base (3d8f7d2) to head (0f604ba).

Files Patch % Lines
internal/server/auto.go 0.00% 36 Missing :warning:
internal/server/kubernetes_api_workflow.go 12.90% 27 Missing :warning:
cmd/tink-server/main.go 0.00% 23 Missing :warning:
internal/server/kubernetes_api.go 0.00% 16 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #946 +/- ## ========================================== - Coverage 28.04% 27.41% -0.63% ========================================== Files 70 71 +1 Lines 3484 3564 +80 ========================================== Hits 977 977 - Misses 2445 2525 +80 Partials 62 62 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.