Skip to content

Commit

Permalink
Merge pull request #782 from ibuildthecloud/master
Browse files Browse the repository at this point in the history
Fix CSI and update vendor
  • Loading branch information
ibuildthecloud authored Sep 1, 2019
2 parents 8a9c867 + 209acb5 commit 4a5360e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 49 deletions.
4 changes: 0 additions & 4 deletions pkg/cli/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vendor/k8s.io/client-go/pkg/version/base.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/k8s.io/kubernetes/pkg/version/base.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 9 additions & 34 deletions vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions vendor/k8s.io/kubernetes/pkg/volume/plugins.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a5360e

Please sign in to comment.