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

Implemented new API for Hegel #118

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Conversation

srikarsganti
Copy link
Contributor

Description

Created a new Hegel metadata API that can be queried. Added CLI flag "hegel-api" which defaults to false, but if its enabled, the new API will be served.

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

chrisdoherty4
chrisdoherty4 previously approved these changes Jul 29, 2022
chrisdoherty4
chrisdoherty4 previously approved these changes Aug 1, 2022
@chrisdoherty4 chrisdoherty4 added the ready-to-merge Signal to Mergify to merge the PR. label Aug 1, 2022
@srikarsganti srikarsganti force-pushed the main branch 3 times, most recently from 37f86a8 to aad5549 Compare August 2, 2022 17:54
Signed-off-by: Srikar Ganti <[email protected]>
@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #118 (cfb4028) into main (34573a1) will decrease coverage by 17.69%.
The diff coverage is 2.63%.

@@             Coverage Diff             @@
##             main     #118       +/-   ##
===========================================
- Coverage   43.29%   25.60%   -17.70%     
===========================================
  Files           8        9        +1     
  Lines         582      914      +332     
===========================================
- Hits          252      234       -18     
- Misses        299      644      +345     
- Partials       31       36        +5     
Impacted Files Coverage Δ
hardware/kubernetes.go 39.02% <0.00%> (-7.13%) ⬇️
http/api.go 0.00% <0.00%> (ø)
http/server.go 77.77% <60.00%> (-12.23%) ⬇️
grpc/server.go 43.67% <0.00%> (-10.76%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@chrisdoherty4 chrisdoherty4 merged commit 3a29154 into tinkerbell:main Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants