constants

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// CloudProviderSecretName is the name of the Secret that stores the
	// cloud provider credentials.
	CloudProviderSecretName = "cloud-provider-vsphere-credentials"

	// CloudProviderSecretNamespace is the namespace in which the cloud provider
	// credentials secret is located.
	CloudProviderSecretNamespace = "kube-system"

	// DefaultBindPort is the default API port used to generate the kubeadm
	// configurations.
	DefaultBindPort = 6443

	// VSphereCredentialSecretUserKey is the key used to store/retrieve the
	// vSphere username from a Kubernetes secret.
	VSphereCredentialSecretUserKey = "username"

	// VSphereCredentialSecretPassKey is the key used to store/retrieve the
	// vSphere password from a Kubernetes secret.
	VSphereCredentialSecretPassKey = "password"

	// MachineReadyAnnotationLabel is the annotation used to indicate that a
	// machine is ready.
	MachineReadyAnnotationLabel = "capv." + v1alpha3.GroupName + "/machine-ready"

	// MaintenanceAnnotationLabel is the annotation used to indicate a machine and/or
	// cluster are in maintenance mode.
	MaintenanceAnnotationLabel = "capv." + v1alpha3.GroupName + "/maintenance"

	// DefaultEnableKeepAlive is false by default.
	DefaultEnableKeepAlive = false

	// KeepaliveDuration unit minutes.
	DefaultKeepAliveDuration = time.Minute * 5

	NodeLabelPrefix = "node.cluster.x-k8s.io"

	ESXiHostInfoLabel = NodeLabelPrefix + "/esxi-host"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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