cloudprovider

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cloudprovider contains tools to generate CSI and CPI manifests.

Index

Constants

View Source
const (
	CPIControllerImageURL = "gcr.io/cloud-provider-vsphere/cpi/release/manager"
)
View Source
const (
	CSINamespace = "vmware-system-csi"
)

Variables

View Source
var (
	// CSIKustomizationTemplates contains the kustomization templates for CSI driver
	//go:embed csi/kustomization.yaml csi/namespace.yaml csi/vsphere-csi-driver.yaml
	CSIKustomizationTemplates embed.FS
)

Functions

func CSICloudConfigSecret

func CSICloudConfigSecret(data string) *corev1.Secret

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(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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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