Documentation
¶
Overview ¶
Package cloudprovider contains tools to generate CSI and CPI manifests.
Index ¶
- Constants
- Variables
- func CSICloudConfigSecret(data string) *corev1.Secret
- func CloudControllerManagerClusterRole() *rbacv1.ClusterRole
- func CloudControllerManagerClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func CloudControllerManagerConfigMap(cloudConfig string) *corev1.ConfigMap
- func CloudControllerManagerDaemonSet(args []string) *appsv1.DaemonSet
- func CloudControllerManagerRoleBinding() *rbacv1.RoleBinding
- func CloudControllerManagerService() *corev1.Service
- func CloudControllerManagerServiceAccount() *corev1.ServiceAccount
Constants ¶
const (
CPIControllerImageURL = "gcr.io/cloud-provider-vsphere/cpi/release/manager"
)
const (
CSINamespace = "vmware-system-csi"
)
Variables ¶
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 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 ¶
CloudControllerManagerConfigMap returns a ConfigMap containing data for the cloud config file.
func CloudControllerManagerDaemonSet ¶
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 ¶
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.