Skip to content

Commit

Permalink
Support for multiple private networks where all others are shared (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Oct 22, 2020
1 parent 19095ce commit 8f4c52b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 184 deletions.
2 changes: 1 addition & 1 deletion cmd/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func newCloud(_ io.Reader) (cloudprovider.Interface, error) {
return nil, errors.Errorf("unable to initialize metal ccm:%v", err)
}

instancesController := instances.New(client)
instancesController := instances.New(client, defaultExternalNetworkID)
zonesController := zones.New(client)
loadBalancerController := loadbalancer.New(client, partitionID, projectID, clusterID, defaultExternalNetworkID)

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ require (
github.com/ghodss/yaml v1.0.0
github.com/google/uuid v1.1.2
github.com/googleapis/gnostic v0.2.0 // indirect
github.com/metal-stack/metal-go v0.9.4
github.com/metal-stack/metal-lib v0.6.2
github.com/metal-stack/metal-go v0.10.0
github.com/metal-stack/metal-lib v0.6.3
github.com/metal-stack/v v1.0.2
github.com/pkg/errors v0.9.1
github.com/spf13/pflag v1.0.5
Expand Down
Loading

0 comments on commit 8f4c52b

Please sign in to comment.