diff --git a/hack/machine_types/BUILD.bazel b/hack/machine_types/BUILD.bazel index 7cac3d58e1..d99c3354bb 100644 --- a/hack/machine_types/BUILD.bazel +++ b/hack/machine_types/BUILD.bazel @@ -2,12 +2,14 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( name = "go_default_library", - srcs = ["machine_types.go"], + srcs = [ + "machine_types.go", + "vpc_ip_resource_limit.go", + ], importpath = "k8s.io/kops/hack/machine_types", visibility = ["//visibility:private"], deps = [ "//upup/pkg/fi/cloudup/awsup:go_default_library", - "//vendor/github.com/aws/amazon-vpc-cni-k8s/pkg/awsutils:go_default_library", "//vendor/github.com/aws/aws-sdk-go/aws:go_default_library", "//vendor/github.com/aws/aws-sdk-go/aws/awserr:go_default_library", "//vendor/github.com/aws/aws-sdk-go/aws/session:go_default_library", diff --git a/hack/machine_types/vpc_ip_resource_limit.go b/hack/machine_types/vpc_ip_resource_limit.go index a14ad01986..cd75ed57e3 100644 --- a/hack/machine_types/vpc_ip_resource_limit.go +++ b/hack/machine_types/vpc_ip_resource_limit.go @@ -1,3 +1,19 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + // Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may