airshipctl and clusterctl integration #29
Labels
2-Manifests
Relates to manifest/document set related issues
enhancement
New feature or request
priority/medium
Default priority for items
Projects
Milestone
Problem description (if applicable)
For both ephemeral and target invokations of
airshipctl cluster initinfra
as well as a non-existent pivot command we intend to integrate the clusterctl pkg as a library.While the
clusterctl
pkg continues to develop, this issue represents the effort of beginning that integration to understand the specific gaps remaining, especially the work we need to accomplish upstream withinclusterctl
.Proposed change
For the
airshipctl cluster initinfra
commands, leverage theclusterctl
library to perform the init, effectively equivalent to aclusterctl init
. This will initially be equivalent to akubectl apply
of the provider resources, and we will build on the gaps remaining for leveraging metal3-io as a provider to just providing that - for instance, ensuring that thebaremetal-operator
,ironic
, and so on are also instantiated, as well asBareMetalHost
records to support subsequentMachine
provisioning.Within
airshipctl
, there is a need to be able to feed provider resources to a library likeclusterctl
. There has been work done upstream inclusterctl
to support pulling provider resources from a local file system. We need to understand whether this will work for the wayairshipctl
renders documents through Kustomize and emits them asDocument
objects as part of a bundle - see the following pull request in clusterctl. Will we create a fake filesystem and provide that toclusterctl
or enhance it upstream to support a YAML byte stream?Potential impacts
There may be requirements for
clusterctl
upstream that may need to be solved locally inairshipctl
.The text was updated successfully, but these errors were encountered: