vspherecontroller

package
v0.0.0-...-07a7762 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 46 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 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