vspherecontroller

package
v0.0.0-...-a85ac0c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToPlatformSpec

func ConvertToPlatformSpec(config *vclib.VSphereConfig, infra *ocpv1.Infrastructure)

func NewVSphereController

func NewVSphereController(
	name, targetNamespace string,
	apiClients utils.APIClient,
	csiConfigManifest []byte,
	secretManifest []byte,
	recorder events.Recorder,
	gates featuregates.FeatureGate,
) factory.Controller

func WithLogLevelDaemonSetHook

func WithLogLevelDaemonSetHook() csidrivernodeservicecontroller.DaemonSetHookFunc

WithLogLevelDaemonSetHook sets the X_CSI_DEBUG and LOGGER_LEVEL environment variables when CR.LogLevel is Debug or higher.

func WithLogLevelDeploymentHook

func WithLogLevelDeploymentHook() deploymentcontroller.DeploymentHookFunc

WithLogLevelDeploymentHook sets the X_CSI_DEBUG and LOGGER_LEVEL environment variables when CR.LogLevel is Debug or higher.

func WithMaxVolumesPerNodeDaemonSetHook

func WithMaxVolumesPerNodeDaemonSetHook(clusterCSIDriverLister operatorlistersv1.ClusterCSIDriverLister, featureGate featuregates.FeatureGate) csidrivernodeservicecontroller.DaemonSetHookFunc

WithMaxVolumesPerNodeDaemonSetHook sets the MAX_VOLUMES_PER_NODE environment variable in the DaemonSet container specifications.

func WithSecretDaemonSetAnnotationHook

func WithSecretDaemonSetAnnotationHook(secretName, namespace string, secretInformer corev1informers.SecretInformer) csidrivernodeservicecontroller.DaemonSetHookFunc

WithSecretDaemonSetAnnotationHook adds an annotation to the DaemonSet to trigger a rollout of new drivers when the specified secret changes. This is necessary because the drivers need to be restarted for new CSINode values to reflect updated topology information.

func WithSyncerImageHook

func WithSyncerImageHook(containerName string) deploymentcontroller.DeploymentHookFunc

Types

type VSphereController

type VSphereController struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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