feat: Added action to write Cloud Init volumes from hardware data#164
Open
appkins wants to merge 5 commits intotinkerbell:mainfrom
Open
feat: Added action to write Cloud Init volumes from hardware data#164appkins wants to merge 5 commits intotinkerbell:mainfrom
appkins wants to merge 5 commits intotinkerbell:mainfrom
Conversation
Signed-off-by: appkins <nbatkins@gmail.com>
Signed-off-by: appkins <nbatkins@gmail.com>
3 tasks
389a905 to
072f412
Compare
Signed-off-by: appkins <nbatkins@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a workflow action to write user data, meta-data and user-data to a cloud init volume - to be consumed by nocloud provisioning.
Example
The following template fully implements the
TalosControlPlanerequirements using predictable image paths. No additional configuration is needed to pair Tinkerbell and Talos bootstrap/control plane.Fixes: #
How Has This Been Tested?
Extensively. Using it in a real world environment to write
TalosConfigto a fleet of edge devices.How are existing users impacted? What migration steps/scripts do we need?
No impact, new action.
Checklist:
This pull request introduces a new Tinkerbell action called
cidataio, which automates the creation of a cloud-init (cidata) partition and writes configuration files to it. The changes include adding the new action to the build system, updating CI/CD workflows, and providing documentation and implementation forcidataio. The most important changes are grouped below:Addition of the
cidataioAction:cidataioaction, including its implementation incidataio/main.go, which creates acidatapartition, formats it, mounts it, and writes cloud-init data files from environment variables.cidataioto build and package the action as a container image.cidataioincidataio/README.md, describing its usage, environment variables, and example workflow.Build System and Workflow Updates:
Makefileto includecidataioin the list of buildable actions and made the container repository configurable.Makefilefromlinux/amd64tolinux/arm64.CI/CD Pipeline Enhancements:
.github/workflows/ci.ymland.github/workflows/release.ymlto includecidataioin the matrix of actions to build and release. [1] [2]I have: