Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "pelagia-config-controller" LcmConfigMapName = "pelagia-lcmconfig" )
Variables ¶
View Source
var ParamsToControl = ControlParamsAll
vars to specify required params to control
Functions ¶
Types ¶
type ControlParams ¶
type ControlParams string
const ( ControlParamsAll ControlParams = "all" ControlParamsHealth ControlParams = "health" ControlParamsTask ControlParams = "task" ControlParamsCephDpl ControlParams = "cephdeployment" )
type DeployParams ¶
type DeployParams struct {
// log level for task controller
LogLevel zerolog.Level
// ceph image represents current image with ceph installed
CephImage string
// ceph release to go
CephRelease string
// rook image to go
RookImage string
// deploy network policy objects or not
NetPolEnabled bool
// service selector providing rgw public access (ingress, loadbalancer)
RgwPublicAccessLabel string
OpenstackCephSharedNamespace string
// secret with cabundle for multisite public access between zones
MultisiteCabundleSecretRef string
}
type HealthParams ¶
type HealthParams struct {
// log level for health controller
LogLevel zerolog.Level
// cephdeployment health checks to skip
ChecksSkip []string
// ceph cluster health issues to ignore
CephIssuesToIgnore []string
// regexp for collection pool usage/capacity details
UsageDetailsClassesFilter string
// regexp for collection class usage/capacity details
UsageDetailsPoolsFilter string
// service selector providing rgw public access (ingress, loadbalancer)
RgwPublicAccessLabel string
}
type LcmConfig ¶
type LcmConfig struct {
// main rook deployment namespace
RookNamespace string
// disk daemon label
DiskDaemonPlacementLabel string
// disk daemon api port for collecting info
DiskDaemonPort int32
// params related to health controller
HealthParams *HealthParams
// params related to task controller
TaskParams *TaskParams
// params related to cephdeployment controller
DeployParams *DeployParams
}
func GetConfiguration ¶
Click to show internal directories.
Click to hide internal directories.