Skip to content

Commit

Permalink
Merge pull request #250 from jsafrane/restore-provisioner-option
Browse files Browse the repository at this point in the history
Restore '--provisioner' option
  • Loading branch information
k8s-ci-robot authored Mar 13, 2019
2 parents 7e4779d + c091e36 commit 89ce263
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/csi-provisioner/csi-provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var (
retryIntervalMax = flag.Duration("retry-interval-max", 5*time.Minute, "Maximum retry interval of failed provisioning or deletion.")
workerThreads = flag.Uint("worker-threads", 100, "Number of provisioner worker threads, in other words nr. of simultaneous CSI calls.")
operationTimeout = flag.Duration("timeout", 10*time.Second, "Timeout for waiting for creation or deletion of a volume")
provisioner = flag.String("provisioner", "", "This option is deprecated")

featureGates map[string]bool
provisionController *controller.ProvisionController
Expand All @@ -80,6 +81,9 @@ func init() {
if *connectionTimeout != 0 {
klog.Warningf("Warning: option -connection-timeout is deprecated and has no effect")
}
if *provisioner != "" {
klog.Warningf("Warning: option -provisioner is deprecated and has no effect")
}

if err := utilfeature.DefaultFeatureGate.SetFromMap(featureGates); err != nil {
klog.Fatal(err)
Expand Down

0 comments on commit 89ce263

Please sign in to comment.