preprovision

package
v1.5.0-rc-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 41 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceBootstrapIgnitionInTFVars

func ReplaceBootstrapIgnitionInTFVars(ctx context.Context, tfvarsFile *asset.File, installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) error

ReplaceBootstrapIgnitionInTFVars replaces the ignition file in the terraform variables.

func SecurityGroups

func SecurityGroups(ctx context.Context, installConfig *installconfig.InstallConfig, infraID string, mastersSchedulable bool) error

SecurityGroups creates the master and worker security groups with the security group rules.

func ServerGroups

func ServerGroups(ctx context.Context, installConfig *installconfig.InstallConfig, capiMachines []capo.OpenStackMachine, mapoWorkerProviderSpecs []mapov1alpha1.OpenstackProviderSpec) error

ServerGroups creates server groups referenced by name in the Machine manifests if they don't exist already. The newly created server groups have the policy defined in the install-config's machine-pools.

func SetTerraformEnvironment

func SetTerraformEnvironment() error

SetTerraformEnvironment injects the environment variables required authenticate against the OpenStack API.

func TagVIPPorts

func TagVIPPorts(ctx context.Context, installConfig *installconfig.InstallConfig, infraID string) error

TagVIPPorts tags the VIP Ports pre-created by the user.

func UploadBaseImage

func UploadBaseImage(ctx context.Context, cloud string, rhcosImage string, imageName string, infraID string, imageProperties map[string]string) error

UploadBaseImage creates a new image in Glance and uploads the RHCOS image there.

func UploadIgnitionAndBuildShim

func UploadIgnitionAndBuildShim(ctx context.Context, cloud string, infraID string, proxy *types.Proxy, bootstrapIgn []byte, useGlance bool) ([]byte, error)

UploadIgnitionAndBuildShim uploads the bootstrap Ignition config in Glance.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL