Documentation ¶
Overview ¶
Package ignition aggregates all Ignition flavors into a single package to be consumed by the bootstrap provider by exposing an API similar to 'bootstrap/internal/ignition' package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInitControlPlane ¶
func NewInitControlPlane(input *ControlPlaneInput) ([]byte, error)
NewInitControlPlane returns Ignition configuration for bootstrapping new cluster.
func NewJoinControlPlane ¶
func NewJoinControlPlane(input *ControlPlaneInput) ([]byte, error)
NewJoinControlPlane returns Ignition configuration for new controlplane node joining the cluster.
func NewJoinWorker ¶
func NewJoinWorker(input *JoinWorkerInput) ([]byte, error)
NewJoinWorker returns Ignition configuration for new worker node joining the cluster.
Types ¶
type ControlPlaneInput ¶
type ControlPlaneInput struct { *cloudinit.ControlPlaneInput AdditionalIgnition *bootstrapv1.AdditionalUserData }
ControlPlaneInput defines the context to generate a controlplane instance user data.
type JoinWorkerInput ¶
type JoinWorkerInput struct { *cloudinit.BaseUserData AdditionalIgnition *bootstrapv1.AdditionalUserData }
JoinWorkerInput defines the context to generate a node user data.
Click to show internal directories.
Click to hide internal directories.