core: rm unused consts
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
This commit is contained in:
1 parent
a7d4c0ce88
commit
9eec9c730e
21 files changed
+12
-71
No files matched your search
@@ -59,9 +59,7 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
// DefaultClusterName states the default name of the rook-cluster if not provided.
|
||||
DefaultClusterName = "rook-ceph"
|
||||
disableHotplugEnv = "ROOK_DISABLE_DEVICE_HOTPLUG"
|
||||
disableHotplugEnv = "ROOK_DISABLE_DEVICE_HOTPLUG"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -44,11 +44,10 @@ const (
|
||||
dashboardPortHTTP = 7000
|
||||
dashboardUsername = "admin"
|
||||
//nolint:gosec // because of the word `Password`
|
||||
dashboardPasswordName = "rook-ceph-dashboard-password"
|
||||
passwordLength = 20
|
||||
passwordKeyName = "password"
|
||||
certAlreadyConfiguredErrorCode = 5
|
||||
invalidArgErrorCode = int(syscall.EINVAL)
|
||||
dashboardPasswordName = "rook-ceph-dashboard-password"
|
||||
passwordLength = 20
|
||||
passwordKeyName = "password"
|
||||
invalidArgErrorCode = int(syscall.EINVAL)
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -55,8 +55,6 @@ const (
|
||||
mgrRoleLabelName = "mgr_role"
|
||||
activeMgrStatus = "active"
|
||||
standbyMgrStatus = "standby"
|
||||
monitoringPath = "/etc/ceph-monitoring/"
|
||||
serviceMonitorFile = "service-monitor.yaml"
|
||||
serviceMonitorPort = "http-metrics"
|
||||
// minimum amount of memory in MB to run the pod
|
||||
cephMgrPodMinimumMemory uint64 = 512
|
||||
|
||||
@@ -78,8 +78,6 @@ const (
|
||||
|
||||
// DefaultMonCount Default mon count for a cluster
|
||||
DefaultMonCount = 3
|
||||
// MaxMonCount Maximum allowed mon count for a cluster
|
||||
MaxMonCount = 9
|
||||
|
||||
// DefaultMsgr1Port is the default port Ceph mons use to communicate amongst themselves prior
|
||||
// to Ceph Nautilus.
|
||||
|
||||
@@ -43,8 +43,6 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
monitoringPath = "/etc/ceph-monitoring/"
|
||||
serviceMonitorFile = "exporter-service-monitor.yaml"
|
||||
sockDir = "/run/ceph"
|
||||
defaultPrioLimit = "5"
|
||||
defaultStatsPeriod = "5"
|
||||
|
||||
@@ -34,7 +34,6 @@ import (
|
||||
|
||||
const (
|
||||
crashClient = `client.crash`
|
||||
exporterClient = `client.ceph-exporter`
|
||||
crashKeyringTemplate = `
|
||||
[client.crash]
|
||||
key = %s
|
||||
|
||||
@@ -17,8 +17,6 @@ limitations under the License.
|
||||
package config
|
||||
|
||||
const (
|
||||
// Bluestore represents a bluestore OSD
|
||||
Bluestore = "bluestore"
|
||||
// WalDefaultSizeMB is the default WAL size in Megabytes for Rocksdb in Bluestore
|
||||
WalDefaultSizeMB = 576
|
||||
)
|
||||
Reference in new issue
Block a user