constants

package
v0.0.0-...-f2cac51 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// AnnotationKlusterletDeployMode is the annotation key of klusterlet deploy mode, it describes the
	// klusterlet deploy mode when importing a managed cluster.
	// If the value is "Hosted", the HostingClusterNameAnnotation annotation will be required, we use
	// AnnotationKlusterletHostingClusterName to determine where to deploy the registration-agent and
	// work-agent.
	AnnotationKlusterletDeployMode string = "import.open-cluster-management.io/klusterlet-deploy-mode"

	// AnnotationKlusterletHostingClusterName is the annotation key of hosting cluster name for klusterlet,
	// it is required in Hosted mode, and the hosting cluster MUST be one of the managed cluster of the hub.
	// The value of the annotation should be the ManagedCluster name of the hosting cluster.
	AnnotationKlusterletHostingClusterName string = "import.open-cluster-management.io/hosting-cluster-name"

	// DisableAutoImportAnnotation is an annotation of ManagedCluster.
	// If present, the crds.yaml and import.yaml will not be applied on the managed cluster by the hub
	// controller automatically. And the bootstrap-hub-kubeconfig secret will not be updated as well
	// in the backup-restore case.
	DisableAutoImportAnnotation string = "import.open-cluster-management.io/disable-auto-import"

	// AnnotationKlusterletConfig is an annotation of ManagedCluster, which references to the name of the
	// KlusterletConfig adopted by this managed cluster. If it is missing on a ManagedCluster, no KlusterletConfig
	// will be used for this managed cluster.
	AnnotationKlusterletConfig string = "agent.open-cluster-management.io/klusterlet-config"
)

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