cloudprovider

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 10 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 *v1alpha3.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 ConfigForCSI

func ConfigForCSI(vsphereCluster v1alpha3.VSphereCluster, cluster clusterv1.Cluster, username string, password string) *v1alpha3.CPIConfig

ConfigForCSI returns a cloudprovider.CPIConfig specific to the vSphere CSI driver until it supports using Secrets for vCenter credentials

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 *v1alpha3.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