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.