mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Revert CSI patch
This commit is contained in:
parent
6d24760c9c
commit
209acb58c1
@ -21,7 +21,6 @@ import (
|
||||
"github.com/urfave/cli"
|
||||
"k8s.io/apimachinery/pkg/util/net"
|
||||
"k8s.io/kubernetes/pkg/master"
|
||||
"k8s.io/kubernetes/pkg/volume/csi"
|
||||
|
||||
_ "github.com/go-sql-driver/mysql" // ensure we have mysql
|
||||
_ "github.com/lib/pq" // ensure we have postgres
|
||||
@ -55,9 +54,6 @@ func run(app *cli.Context, cfg *cmds.Server) error {
|
||||
}
|
||||
}
|
||||
|
||||
// If running agent in server, set this so that CSI initializes properly
|
||||
csi.WaitForValidHostName = !cfg.DisableAgent
|
||||
|
||||
serverConfig := server.Config{}
|
||||
serverConfig.ControlConfig.ClusterSecret = cfg.ClusterSecret
|
||||
serverConfig.ControlConfig.DataDir = cfg.DataDir
|
||||
|
Loading…
Reference in New Issue
Block a user