-
Notifications
You must be signed in to change notification settings - Fork 4
/
constants.go
49 lines (42 loc) · 1.5 KB
/
constants.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
package cluster
import "k8s.io/apimachinery/pkg/labels"
const (
RookCephNS = "rook-ceph"
CephClusterName = "rook-ceph"
RookCephSharedFSMetadataPool = "rook-shared-fs-metadata"
RookCephSharedFSDataPool = "rook-shared-fs-data0"
CephDeviceHealthMetricsPool = "device_health_metrics"
CephDeviceHealthMetricsPoolQuincy = ".mgr"
RookCephObjectStoreRootPool = ".rgw.root"
RotateCertsLabel = "kurl.sh/task"
RotateCertsValue = "rotate-certs"
RotateCertsLastAttempted = "rotate-certs-last-attempted"
TaskLabel = "kurl.sh/task"
UpdateInternalLBValue = "update-internallb"
SetKubeconfigServerValue = "set-kubeconfig-server"
)
var RotateCertsSelector = labels.SelectorFromSet(labels.Set{RotateCertsLabel: RotateCertsValue})
var UpdateInternalLBSelector = labels.SelectorFromSet(labels.Set{TaskLabel: UpdateInternalLBValue})
var SetKubeconfigServerSelector = labels.SelectorFromSet(labels.Set{TaskLabel: SetKubeconfigServerValue})
var (
RookCephObjectStoreMetadataPools = []string{
// .rgw.root (rootPool) is appended to this slice where needed
"rgw.control",
"rgw.meta",
"rgw.log",
"rgw.buckets.index",
"rgw.buckets.non-ec",
}
RookCephObjectStoreMetadataPoolsQuincy = []string{
// .rgw.root (rootPool) is appended to this slice where needed
"rgw.control",
"rgw.meta",
"rgw.log",
"rgw.buckets.index",
"rgw.buckets.non-ec",
"rgw.otp",
}
RookCephObjectStoreDataPools = []string{
"rgw.buckets.data",
}
)