cloudconfig

package
v2.24.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FakeVMWareUUIDKeyName is the name of the cloud-config configmap key
	// that holds the fake vmware uuid
	// It is required when activating the vsphere cloud-provider in the controller
	// manager on a non-ESXi host
	// Upstream issue: https://github.com/kubernetes/kubernetes/issues/65145
	FakeVMWareUUIDKeyName = "fakeVmwareUUID"
	FakeVMWareUUID        = "VMware-42 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00"
)

Variables

This section is empty.

Functions

func CloudConfig

func CloudConfig(
	cluster *kubermaticv1.Cluster,
	dc *kubermaticv1.Datacenter,
	credentials resources.Credentials,
) (cloudConfig string, err error)

CloudConfig returns the cloud-config for the supplied data.

func GetVSphereCloudConfig added in v2.22.0

func GetVSphereCloudConfig(
	cluster *kubermaticv1.Cluster,
	dc *kubermaticv1.Datacenter,
	credentials resources.Credentials,
) (*vsphere.CloudConfig, error)

func KubeVirtInfraSecretReconciler added in v2.22.0

func KubeVirtInfraSecretReconciler(data *resources.TemplateData) reconciling.NamedSecretReconcilerFactory

func SecretReconciler added in v2.22.0

func SecretReconciler(data creatorData) reconciling.NamedSecretReconcilerFactory

SecretReconciler returns a function to create the Secret containing the cloud-config.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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