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

ENG-6658 user defined metadata #16

Merged
merged 4 commits into from
Jul 24, 2020

Conversation

kqdeng
Copy link
Contributor

@kqdeng kqdeng commented Jul 6, 2020

Description

The metadata field under hardware is being changed to a (json formatted) string in Tink.
In order to accommodate that, this PR adds a new unmarshaller for exportedHardwareTinkerbell to handle this change.

Related PRs:
boots: tinkerbell/smee#58
tink: tinkerbell/tink#197

Why is this needed

Fixes: tinkerbell/tink#199

How Has This Been Tested?

  • Unit tests

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

Users shouldn't notice a change in how they're using the endpoints compared to before except now they will be able to see any and all fields they pushed in as metadata.

Checklist:

I have:

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

@grahamc
Copy link
Contributor

grahamc commented Jul 7, 2020

Hey @kdeng3849, can you take a few minutes to fill out the rest of the PR template's fields?

@mrmrcoleman mrmrcoleman added this to Blocked in Issues List Jul 7, 2020
@mrmrcoleman mrmrcoleman moved this from Blocked to Requests in Issues List Jul 7, 2020
@kqdeng kqdeng force-pushed the ENG-6658-user-defined-metadata branch from 5e632f5 to 65f01e7 Compare July 24, 2020 14:07
@kqdeng kqdeng changed the title handle user defined metadata ENG-6658 user defined metadata Jul 24, 2020
@kqdeng kqdeng requested review from nathangoulding and removed request for nathangoulding July 24, 2020 14:11
Issues List automation moved this from Requests to In Progress Jul 24, 2020
@kqdeng kqdeng merged commit 013e57a into tinkerbell:master Jul 24, 2020
Issues List automation moved this from In Progress to Just shipped Jul 24, 2020
@kqdeng kqdeng deleted the ENG-6658-user-defined-metadata branch July 24, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Issues List
  
Just shipped
Development

Successfully merging this pull request may close these issues.

Metadata structure should be user defined
3 participants