File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ const (
4242 CephFsType = "cephfs"
4343 NFSType = "nfs"
4444 NVMeoFType = "nvmeof"
45- LivenessType = "liveness"
4645 ControllerType = "controller"
4746)
4847
9695
9796// Config holds the parameters list which can be configured.
9897type Config struct {
99- Vtype string // driver type [rbd|cephfs|liveness |controller]
98+ Vtype string // driver type [rbd|cephfs|nfs|nvmeof |controller]
10099 Endpoint string // CSI endpoint
101100 DriverName string // name of the driver
102101 DriverNamespace string // namespace in which driver is deployed
@@ -107,7 +106,7 @@ type Config struct {
107106 DomainLabels string // list of domain labels to read from the node
108107 // metrics related flags
109108 MetricsPath string // path of prometheus endpoint where metrics will be available
110- MetricsIP string // TCP port for liveness/ metrics requests
109+ MetricsIP string // IP address for metrics endpoint
111110
112111 // CSI-Addons endpoint
113112 CSIAddonsEndpoint string
@@ -138,7 +137,7 @@ type Config struct {
138137 MinSnapshotsOnImage uint
139138
140139 PidLimit int // PID limit to configure through cgroups")
141- MetricsPort int // TCP port for liveness/grpc metrics requests
140+ MetricsPort int // TCP port for metrics endpoint
142141 PollTime time.Duration // time interval in seconds between each poll
143142 PoolTimeout time.Duration // probe timeout in seconds
144143 // Log interval for slow GRPC calls. Calls that outlive their context deadline
You can’t perform that action at this time.
0 commit comments