Documentation ¶
Index ¶
Constants ¶
const BootstrapSSHDescription = "Bootstrap SSH Access"
BootstrapSSHDescription is the description for the ingress rule that provides SSH access to the bootstrap node & identifies the rule for removal during bootstrap destroy.
Variables ¶
This section is empty.
Functions ¶
func GenerateClusterAssets ¶ added in v0.9.153
func GenerateClusterAssets(ic *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)
GenerateClusterAssets generates the manifests for the cluster-api.
func GetIgnitionBucketName ¶ added in v0.90.0
GetIgnitionBucketName returns the name of the bucket for the given cluster.
Types ¶
type ClusterCSIDriverConfig ¶
type ClusterCSIDriverConfig struct {
KMSKeyARN string
}
ClusterCSIDriverConfig is the AWS config for the cluster CSI driver.
func (ClusterCSIDriverConfig) YAML ¶
func (params ClusterCSIDriverConfig) YAML() ([]byte, error)
YAML generates the cluster CSI driver config for the AWS platform.
type ZonesCAPI ¶ added in v0.90.0
type ZonesCAPI struct { ControlPlaneZones sets.Set[string] ComputeZones sets.Set[string] EdgeZones sets.Set[string] }
ZonesCAPI handles the discovered zones used to create subnets to CAPA. ZonesCAPI is scoped in this package, but exported to use complex scenarios with go-cmp on unit tests.
func (*ZonesCAPI) GetAvailabilityZones ¶ added in v0.90.0
GetAvailabilityZones returns a sorted union of Availability Zones defined in the zone attribute in the pools for control plane and compute.
func (*ZonesCAPI) GetEdgeZones ¶ added in v0.90.0
GetEdgeZones returns a sorted union of Local Zones or Wavelength Zones defined in the zone attribute in the edge compute pool.
func (*ZonesCAPI) SetAvailabilityZones ¶ added in v0.90.0
SetAvailabilityZones insert the zone to the given compute pool, and to the regular zone (zone type availability-zone) list.
func (*ZonesCAPI) SetDefaultConfigZones ¶ added in v0.90.0
SetDefaultConfigZones evaluates if machine pools (control plane and workers) have been set the zones from install-config.yaml, if not sets the default from platform, when exists, otherwise set the default from the region discovered from AWS API.