openstack

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package openstack contains specific helpers for testing a cluster deployment that uses the OpenStack infrastructure provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEnv

func CheckEnv()

CheckEnv validates the presence of required OpenStack credentials env vars.

func PopulateEnvVars

func PopulateEnvVars(_ config.Architecture)

PopulateEnvVars sets architecture-dependent defaults and required template envs if they are not already provided in the environment. For now we require explicit values for flavors and image name, but we wire architecture to allow future defaults if desired.

func PopulateHostedTemplateVars

func PopulateHostedTemplateVars(ctx context.Context, kc *kubeclient.KubeClient, standaloneClusterName string)

PopulateHostedTemplateVars reads network/subnet/router (and region) from the standalone OpenStackCluster and sets env vars used by the hosted template. It also attempts to derive worker flavor/image from the MachineDeployment's OpenStackMachineTemplate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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