preprovision

package
v0.90.99 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

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 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) ([]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