constants

package
v1.11.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

Package constants contains constants used in CAPV.

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." + infrav1.GroupName + "/machine-ready"

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

	// NodeLabelPrefix is the prefix for node labels.
	NodeLabelPrefix = "node.cluster.x-k8s.io"

	// ESXiHostInfoLabel is the label for esxi host info.
	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