package config

const (
	// ClusterPrefix is the prefix for k8s resources
	ClusterPrefix = "db"
	// MonitorStorage is the monitor storage size in GiB
	MonitorStorage = 50
	// LocalOperatorNamespace is the namespace to run local operation components of dbaas
	LocalOperatorNamespace = "tidb-admin"
	// CertManagerNamespace is the namespace to run cert-manager
	CertManagerNamespace = "cert-manager"
	// LocalProxyName is the local proxy in shoot cluster
	LocalProxyName = "dbaas-proxy"
	// LocalReporter is the reporter to report tidbcluster status
	LocalReporter = "dbaas-reporter"
	// LocalSLIReporter is the reporter to report tidbclusters' pod /metrics
	LocalSLIReporter = "dbaas-sli-reporter"

	// TestE2EUser test e2e user is the user of e2e test
	TestE2EUser = "teste2e@pingcap.com"

	// TimeFormat is the time format for generate backup name
	TimeFormat = "2006-01-02t15-04-05"

	// SystemEmail is the email used for autonomous operations
	SystemEmail = "system@pingcap.com"

	// AnnGracefulShutdownTiDB is pod annotation key to indicate the pod will be processed by graceful shutdown tidb webhook
	AnnGracefulShutdownTiDB = "pingcap.com/graceful-shutdown-tidb"
	// AnnDeletePodWaitTimeout is pod annotation key to indicate the wait timeout for deleting pod
	AnnDeletePodWaitTimeout = "pingcap.com/delete-pod-wait-timeout"
	// AnnHealthCheckPort is service annotation key to indicate customized LB health check port
	AnnHealthCheckPort = "pingcap.com/health-check-port"
	// HealthCheckerContainerName is the name of tidb pod health checker sidecar
	HealthCheckerContainerName = "health-checker"
	// TopSQLAgentContainerName is the name of TiDB Top SQL agent
	TopSQLAgentContainerName = "topsql-agent"

	DefaultUtcOffset    = "0"
	DefaultTidbQuota    = 20
	DefaultTikvQuota    = 30
	DefaultTiflashQuota = 30
	DefaultProjectName  = "default project"

	RegistrationSourceEmail   = "custom-email"
	PortalAuthorizationHeader = "Portal-Authorization"
	SalesforceApiKeyName      = "salesforce"

	// Deployment stage
	StageProd    = "prod"
	StageStaging = "staging"
)
