forked from ydb-platform/ydb-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.go
75 lines (57 loc) · 2.21 KB
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package v1alpha1
const (
RegistryPath = "cr.yandex/crptqonuodf51kdj7a7d/ydb"
DefaultTag = "22.2.22"
ImagePathFormat = "%s:%s"
DefaultDomainName = "cluster.local"
DNSDomainAnnotation = "dns.domain"
GRPCPort = 2135
GRPCServicePortName = "grpc"
GRPCProto = "grpc://"
GRPCSProto = "grpcs://"
GRPCServiceFQDNFormat = "%s-grpc.%s.svc.%s"
InterconnectPort = 19001
InterconnectServicePortName = "interconnect"
InterconnectServiceFQDNFormat = "%s-interconnect.%s.svc.%s"
StatusPort = 8765
StatusServicePortName = "status"
DatastreamsPort = 8443
DatastreamsServicePortName = "datastreams"
DiskPathPrefix = "/dev/kikimr_ssd"
DiskNumberMaxDigits = 2
DiskFilePath = "/data"
YdbAuthToken = "ydb-auth-token-file"
ConfigDir = "/opt/ydb/cfg"
ConfigFileName = "config.yaml"
DatabaseEncryptionKeySecretDir = "database_encryption"
DatabaseEncryptionKeySecretFile = "key"
DatabaseEncryptionKeyConfigFile = "key.txt"
BinariesDir = "/opt/ydb/bin"
DaemonBinaryName = "ydbd"
DefaultRootUsername = "root"
DefaultRootPassword = ""
DefaultDatabaseDomain = "Root"
DefaultDatabaseEncryptionPin = "EmptyPin"
DefaultSignAlgorithm = "RS256"
LabelDeploymentKey = "deployment"
LabelDeploymentValueKubernetes = "kubernetes"
LabelSharedDatabaseKey = "shared"
LabelSharedDatabaseValueTrue = "true"
LabelSharedDatabaseValueFalse = "false"
AnnotationUpdateStrategyOnDelete = "ydb.tech/update-strategy-on-delete"
AnnotationUpdateDNSPolicy = "ydb.tech/update-dns-policy"
AnnotationSkipInitialization = "ydb.tech/skip-initialization"
AnnotationDisableLivenessProbe = "ydb.tech/disable-liveness-probe"
AnnotationDataCenter = "ydb.tech/data-center"
AnnotationGRPCPublicHost = "ydb.tech/grpc-public-host"
AnnotationNodeHost = "ydb.tech/node-host"
AnnotationNodeDomain = "ydb.tech/node-domain"
AnnotationValueTrue = "true"
legacyTenantNameFormat = "/%s/%s"
)
type ErasureType string
const (
ErasureBlock42 ErasureType = "block-4-2"
ErasureMirror3DC ErasureType = "mirror-3-dc"
None ErasureType = "none"
)