airshipctl/manifests/function/hardwareprofile-example
Matt McEuen f9d2d4ef27 Add hardware profile / firmware plumbing
This adds firmware definition into the hostgenerator-m3 function,
along with a default hardwareProfile/firmware definition;
it also adds a hardwareprofile-example function that can be used
as an example for creating and consuming hardwareProfiles.

In the future, other things will be added to hardwareProfiles in
addition to firmware, for consumption by hostgenerator-m3
and/or by other functions.

Closes: #291

Change-Id: I586284f07e5b98353af06ecb7559a64771297e44
2020-08-06 09:14:12 -05:00
..
replacements Add hardware profile / firmware plumbing 2020-08-06 09:14:12 -05:00
README.md Add hardware profile / firmware plumbing 2020-08-06 09:14:12 -05:00
hardwareprofile.yaml Add hardware profile / firmware plumbing 2020-08-06 09:14:12 -05:00
kustomization.yaml Add hardware profile / firmware plumbing 2020-08-06 09:14:12 -05:00

README.md

Function: hardwareprofile-example

This function defines a hardware profile that can be consumed by the hostgenerator-m3 function, and which has the same values as the default profile defined in that function. It serves as an example for how other hardware profile functions can be created and consumed.

The /replacements kustomization contains a substution rule that injects the profile into the hostgenerator BMH template. Please see the manifests/type/gating type and manifests/type/test-site kustomization.yamls to see how a hardwareprofile function can be wired in.