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 #58

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

kqdeng
Copy link
Contributor

@kqdeng kqdeng commented Jul 13, 2020

Description

The metadata field under hardware is being changed to a (json formatted) string in Tink.
In order to accommodate that, this PR uses a custom unmarshaller for the hardware.Hardware object returned from tink to be able to parse the json formatted string.

Why is this needed

Fixes: tinkerbell/tink#199

How Has This Been Tested?

  • Successfully ran a basic workflow using a tinkerbell/packet setup

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

Should work as before, no migration needed.

Related PRs:
hegel: tinkerbell/hegel#16
tink: tinkerbell/tink#197

Checklist:

I have:

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

@kqdeng kqdeng force-pushed the ENG-6658-user-defined-metadata branch from 295fc04 to 849bd05 Compare July 13, 2020 14:00
@kqdeng kqdeng force-pushed the ENG-6658-user-defined-metadata branch from 849bd05 to 09683ce Compare July 13, 2020 14:15
@kqdeng kqdeng changed the title Eng 6658 user defined metadata ENG-6658 user defined metadata Jul 13, 2020
@mrmrcoleman mrmrcoleman added this to In Progress in Issues List Jul 21, 2020
@nathangoulding nathangoulding added kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/M estimate of the amount of work to address the issue size/S estimate of the amount of work to address the issue and removed size/M estimate of the amount of work to address the issue labels Jul 21, 2020
@kqdeng kqdeng force-pushed the ENG-6658-user-defined-metadata branch from 09683ce to 1acab13 Compare July 23, 2020 23:25
@kqdeng kqdeng force-pushed the ENG-6658-user-defined-metadata branch from 1acab13 to a8469d9 Compare July 24, 2020 14:14
@kqdeng kqdeng requested review from nathangoulding and removed request for nathangoulding July 24, 2020 14:17
@kqdeng kqdeng merged commit 1fc478c 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
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/S estimate of the amount of work to address the issue
Projects
No open projects
Issues List
  
Just shipped
Development

Successfully merging this pull request may close these issues.

Metadata structure should be user defined
2 participants