vsphere

package
v0.0.0-...-9ca1187 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// NodePlatformTypeLabelKey and NodePlatformTypeLabelValueVSphere are the label the vSphere CCM applies
	// (via --node-labels, see additionalLabels below) to nodes when it first initializes them. They are
	// exported so that node.openshift.io/platform-type=vsphere can be reapplied to nodes that were
	// initialized before the VSphereMixedNodeEnv feature gate was enabled.
	NodePlatformTypeLabelKey          = "node.openshift.io/platform-type"
	NodePlatformTypeLabelValueVSphere = "vsphere"
	// NodeProviderIDPrefix is the spec.providerID prefix used by vSphere nodes, e.g. vsphere://4210e24f-...
	NodeProviderIDPrefix = "vsphere://"
)

Variables

This section is empty.

Functions

func CloudConfigTransformer

func CloudConfigTransformer(source string, infra *configv1.Infrastructure, network *configv1.Network, features featuregates.FeatureGate) (string, error)

CloudConfigTransformer takes the user-provided, legacy cloud provider-compatible configuration and modifies it to be compatible with the external cloud provider. Returns an error if the platform is not VSpherePlatformType or if any errors were encountered while attempting to transform a configuration. Currently, CloudConfigTransformer is responsible to populate vcenters, labels, and node networking parameters from the Infrastructure resource. Also, this function converts legacy deprecated INI configuration format to a YAML-based one.

func NewProviderAssets

func NewProviderAssets(config config.OperatorConfig) (common.CloudProviderAssets, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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