package v1

const (
	// ConfigRevisionIdKey is used to annotate TC with the name of in-use ConfigRevision
	ConfigRevisionIdKey = "tidbcloud.com/config-revision-id"

	ClusterFeatureUseCMEK = "cmek"

	// AnnoAzureKeyvaultKeyURI records Azure Key Vault Key URI into StorageClass
	AnnoAzureKeyvaultKeyURI = "azure.tidbcloud.com/keyvault-key-uri"

	// AnnoKeyGKEComputeClassForTiKVBindings records the complete TiKV compute-class binding intent.
	AnnoKeyGKEComputeClassForTiKVBindings = "tidbcloud.com/gke-compute-class-for-tikv-bindings"
	// AnnoKeyGKEComputeClassForTiDBBindings records the complete TiDB compute-class binding intent.
	AnnoKeyGKEComputeClassForTiDBBindings = "tidbcloud.com/gke-compute-class-for-tidb-bindings"

	// AnnoClusterUpdateAnnotationKeyInstanceType indicates the cluster need to be updated as instance types changed.
	// the value should be a list of component names, separated by comma.
	AnnoClusterUpdateAnnotationKeyInstanceType = "eks.infra.pingcap.com/cluster-update-instance-type"
	AnnoInstanceTypeSeparator                  = ","

	// AnnoKeyOverrideTiDBMinReadySeconds is used to override the default min-ready-seconds for TiDB
	AnnoKeyOverrideTiDBMinReadySeconds = "override.tidbcloud.com/tidb-min-ready-seconds"
	// AnnoKeyOverrideTiProxyMinReadySeconds is used to override the default min-ready-seconds for TiProxy
	AnnoKeyOverrideTiProxyMinReadySeconds = "override.tidbcloud.com/tiproxy-min-ready-seconds"
	// AnnoKeyOverrideTiDBPreStopHookSleepSeconds is used to override the default pre-stop-hook-sleep-seconds for TiDB
	AnnoKeyOverrideTiDBPreStopHookSleepSeconds = "override.tidbcloud.com/tidb-pre-stop-hook-sleep-seconds"
	// AnnoKeyOverrideTiFlashGracefulShutdownSleepSeconds defines the wait time for TiFlash to flush logs to stdout before shutdown.
	AnnoKeyOverrideTiFlashGracefulShutdownSleepSeconds = "override.tidbcloud.com/tiflash-graceful-shutdown-sleep-seconds"
)
