mirror of https://github.com/kubernetes/kops.git
Updates to make External egress functional
This commit is contained in:
parent
fab5f7f878
commit
604f73d7cb
|
|
@ -332,6 +332,8 @@ func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error {
|
||||||
|
|
||||||
c.AddTask(in)
|
c.AddTask(in)
|
||||||
|
|
||||||
|
} else if egress == "External" {
|
||||||
|
// Nothing to do here
|
||||||
} else {
|
} else {
|
||||||
return fmt.Errorf("kops currently only supports re-use of either NAT EC2 Instances or NAT Gateways. We will support more eventually! Please see https://github.com/kubernetes/kops/issues/1530")
|
return fmt.Errorf("kops currently only supports re-use of either NAT EC2 Instances or NAT Gateways. We will support more eventually! Please see https://github.com/kubernetes/kops/issues/1530")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
|
||||||
name = "go_default_library",
|
|
||||||
srcs = [
|
|
||||||
"asset.go",
|
|
||||||
"bytewriter.go",
|
|
||||||
"config.go",
|
|
||||||
"convert.go",
|
|
||||||
"debug.go",
|
|
||||||
"doc.go",
|
|
||||||
"release.go",
|
|
||||||
"restore.go",
|
|
||||||
"stringwriter.go",
|
|
||||||
"toc.go",
|
|
||||||
],
|
|
||||||
importmap = "k8s.io/kops/vendor/github.com/jteeuwen/go-bindata",
|
|
||||||
importpath = "github.com/jteeuwen/go-bindata",
|
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
||||||
|
|
||||||
go_library(
|
|
||||||
name = "go_default_library",
|
|
||||||
srcs = [
|
|
||||||
"AppendSliceValue.go",
|
|
||||||
"main.go",
|
|
||||||
"version.go",
|
|
||||||
],
|
|
||||||
importmap = "k8s.io/kops/vendor/github.com/jteeuwen/go-bindata/go-bindata",
|
|
||||||
importpath = "github.com/jteeuwen/go-bindata/go-bindata",
|
|
||||||
visibility = ["//visibility:private"],
|
|
||||||
deps = ["//vendor/github.com/jteeuwen/go-bindata:go_default_library"],
|
|
||||||
)
|
|
||||||
|
|
||||||
go_binary(
|
|
||||||
name = "go-bindata",
|
|
||||||
embed = [":go_default_library"],
|
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
Loading…
Reference in New Issue