constants

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Overview

Package constants provides constant variables

Package constants provides some constants for TKR.

Index

Constants

View Source
const (
	// BomConfigMapTKRLabel is the BOM ConfigMap TKR label
	BomConfigMapTKRLabel = "tanzuKubernetesRelease"

	// BomConfigMapImageTagAnnotation is the BOM ConfigMap image tag annotation
	BomConfigMapImageTagAnnotation = "bomImageTag"

	// BomConfigMapContentKey is the BOM ConfigMap content key
	BomConfigMapContentKey = "bomContent"

	// BOMKubernetesComponentKey is the BOM k8s component key
	BOMKubernetesComponentKey = "kubernetes"

	// ManagementClusterRoleLabel is the management cluster role label
	// It indicates the cluster object represents a mgmt cluster
	ManagementClusterRoleLabel = "cluster-role.tkg.tanzu.vmware.com/management"

	// TKGVersionKey is the TKG version key
	TKGVersionKey = "TKGVERSION"

	// TKRNamespace is the TKR namespace
	TKRNamespace = "tkr-system"

	// TKRControllerLeaderElectionCM is the ConfigMap used as the TKR Controller leader election lock
	TKRControllerLeaderElectionCM = "abf9f9ab.tanzu.vmware.com"

	// TKGNamespace is the TKG namespace
	TKGNamespace = "tkg-system"

	// TanzuKubernetesReleaseInactiveLabel is the TKR inactive label
	TanzuKubernetesReleaseInactiveLabel = "inactive"

	// BOMMetadataConfigMapName is the name of the ConfigMap holding BOM metadata
	BOMMetadataConfigMapName = "bom-metadata"

	// BOMMetadataCompatibilityKey in binaryData in bom-metadata ConfigMap holds compatibility metadata
	BOMMetadataCompatibilityKey = "compatibility"
)

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