Updates to make External egress functional

This commit is contained in:
Arjun Comar 2018-10-31 18:07:11 -04:00 committed by Moustafa Baiou
parent fab5f7f878
commit 604f73d7cb
No known key found for this signature in database
GPG Key ID: 266E10C76A033B03
3 changed files with 2 additions and 40 deletions

View File

@ -332,6 +332,8 @@ func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error {
c.AddTask(in)
} else if egress == "External" {
// Nothing to do here
} 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")
}

View File

@ -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"],
)

View File

@ -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"],
)