cloudprovider

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCSIControllerImage     = "gcr.io/cloud-provider-vsphere/csi/release/driver:v2.1.0"
	DefaultCSINodeDriverImage     = "gcr.io/cloud-provider-vsphere/csi/release/driver:v2.1.0"
	DefaultCSIAttacherImage       = "quay.io/k8scsi/csi-attacher:v3.0.0"
	DefaultCSIProvisionerImage    = "quay.io/k8scsi/csi-provisioner:v2.0.0"
	DefaultCSIMetadataSyncerImage = "gcr.io/cloud-provider-vsphere/csi/release/syncer:v2.1.0"
	DefaultCSILivenessProbeImage  = "quay.io/k8scsi/livenessprobe:v2.1.0"
	DefaultCSIRegistrarImage      = "quay.io/k8scsi/csi-node-driver-registrar:v2.0.1"
	CSINamespace                  = metav1.NamespaceSystem
	CSIControllerName             = "vsphere-csi-controller"
	CSIFeatureStateConfigMapName  = "internal-feature-states.csi.vsphere.vmware.com"
)
View Source
const (
	DefaultCPIControllerImage = "gcr.io/cloud-provider-vsphere/cpi/release/manager:v1.18.1"
)

Variables

This section is empty.

Functions

func CSIAttacherContainer

func CSIAttacherContainer(image string) corev1.Container

func CSICloudConfigSecret

func CSICloudConfigSecret(data string) *corev1.Secret

func CSIComponentConfigSecret added in v0.7.0

func CSIComponentConfigSecret(secretName string, data string) *corev1.Secret

func CSIControllerClusterRole

func CSIControllerClusterRole() *rbacv1.ClusterRole

func CSIControllerClusterRoleBinding

func CSIControllerClusterRoleBinding() *rbacv1.ClusterRoleBinding

func CSIControllerDeployment added in v0.6.5

func CSIControllerDeployment(storageConfig *types.CPIStorageConfig) *appsv1.Deployment

func CSIControllerServiceAccount

func CSIControllerServiceAccount() *corev1.ServiceAccount

func CSIDriver

func CSIDriver() *storagev1beta1.CSIDriver

func CSIFeatureStatesConfigMap added in v0.7.5

func CSIFeatureStatesConfigMap() *corev1.ConfigMap

func CSIProvisionerContainer

func CSIProvisionerContainer(image string) corev1.Container

func CloudControllerManagerClusterRole

func CloudControllerManagerClusterRole() *rbacv1.ClusterRole

CloudControllerManagerClusterRole returns the ClusterRole systemLcloud-controller-manager used by the cloud-controller-manager.

func CloudControllerManagerClusterRoleBinding

func CloudControllerManagerClusterRoleBinding() *rbacv1.ClusterRoleBinding

CloudControllerManagerClusterRoleBinding binds the system:cloud-controller-manager cluster role to the cloud-controller-manager.

func CloudControllerManagerConfigMap

func CloudControllerManagerConfigMap(cloudConfig string) *corev1.ConfigMap

CloudControllerManagerConfigMap returns a ConfigMap containing data for the cloud config file.

func CloudControllerManagerDaemonSet

func CloudControllerManagerDaemonSet(image string, args []string) *appsv1.DaemonSet

CloudControllerManagerDaemonSet returns the DaemonSet which runs the cloud-controller-manager.

func CloudControllerManagerRoleBinding

func CloudControllerManagerRoleBinding() *rbacv1.RoleBinding

CloudControllerManagerRoleBinding binds the extension-apiserver-authentication-reader to the cloud-controller-manager.

func CloudControllerManagerService

func CloudControllerManagerService() *corev1.Service

CloudControllerManagerService returns a Service for the cloud-controller-manager.

func CloudControllerManagerServiceAccount

func CloudControllerManagerServiceAccount() *corev1.ServiceAccount

CloudControllerManagerServiceAccount returns the ServiceAccount used for the cloud-controller-manager.

func LivenessProbeForCSIControllerContainer

func LivenessProbeForCSIControllerContainer(image string) corev1.Container

func LivenessProbeForNodeContainer

func LivenessProbeForNodeContainer(image string) corev1.Container

func NodeDriverRegistrarContainer

func NodeDriverRegistrarContainer(image string) corev1.Container

func VSphereCSIControllerContainer

func VSphereCSIControllerContainer(image string) corev1.Container

func VSphereCSINodeContainer

func VSphereCSINodeContainer(image string) corev1.Container

func VSphereCSINodeDaemonSet

func VSphereCSINodeDaemonSet(storageConfig *types.CPIStorageConfig) *appsv1.DaemonSet

func VSphereSyncerContainer

func VSphereSyncerContainer(image string) corev1.Container

Types

This section is empty.

Jump to

Keyboard shortcuts

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