Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove kube-discovery #9435

Merged
merged 1 commit into from
Jun 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -676,10 +676,6 @@ bazel-crossbuild-protokube:
bazel-crossbuild-protokube-image:
bazel build ${BAZEL_CONFIG} --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //images:protokube.tar

.PHONY: bazel-crossbuild-kube-discovery-image
bazel-crossbuild-kube-discovery-image:
bazel build ${BAZEL_CONFIG} --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //images:kube-discovery.tar

.PHONY: bazel-crossbuild-node-authorizer-image
bazel-crossbuild-node-authorizer-image:
bazel build ${BAZEL_CONFIG} --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //images:node-authorizer.tar
@@ -720,13 +716,6 @@ check-markdown-links:
$(shell find $$PWD -name "*.md" -mindepth 1 -printf '%P\n' | grep -v vendor | grep -v Changelog.md)

#-----------------------------------------------------------
# kube-discovery

.PHONY: push-kube-discovery
push-kube-discovery:
bazel run ${BAZEL_CONFIG} //kube-discovery/images:kube-discovery
docker tag bazel/kube-discovery/images:kube-discovery ${DOCKER_REGISTRY}/kube-discovery:${DOCKER_TAG}
docker push ${DOCKER_REGISTRY}/kube-discovery:${DOCKER_TAG}

.PHONY: push-node-authorizer
push-node-authorizer:
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -84,7 +84,6 @@ require (
github.com/jpillora/backoff v0.0.0-20170918002102-8eab2debe79d
github.com/kr/fs v0.1.0 // indirect
github.com/miekg/coredns v0.0.0-20161111164017-20e25559d5ea
github.com/miekg/dns v1.1.16
github.com/mitchellh/mapstructure v1.1.2
github.com/pkg/sftp v0.0.0-20160930220758-4d0e916071f6
github.com/prometheus/client_golang v1.0.0
1 change: 0 additions & 1 deletion hack/.packages
Original file line number Diff line number Diff line change
@@ -33,7 +33,6 @@ k8s.io/kops/dnsprovider/pkg/dnsprovider/providers/openstack/designate
k8s.io/kops/dnsprovider/pkg/dnsprovider/rrstype
k8s.io/kops/dnsprovider/pkg/dnsprovider/tests
k8s.io/kops/examples/kops-api-example
k8s.io/kops/kube-discovery/cmd/kube-discovery
k8s.io/kops/node-authorizer/cmd/node-authorizer
k8s.io/kops/node-authorizer/pkg/authorizers/alwaysallow
k8s.io/kops/node-authorizer/pkg/authorizers/aws
10 changes: 0 additions & 10 deletions images/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -69,16 +69,6 @@ hashes(
src = "protokube.tar.gz",
)

container_image(
name = "kube-discovery",
base = "@debian_hyperkube_base_amd64//image",
cmd = ["/usr/bin/kube-discovery"],
directory = "/usr/bin/",
files = [
"//kube-discovery/cmd/kube-discovery",
],
)

container_image(
name = "kops-controller",
base = "@distroless_base//image",
32 changes: 0 additions & 32 deletions kube-discovery/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions kube-discovery/cmd/kube-discovery/BUILD.bazel

This file was deleted.

266 changes: 0 additions & 266 deletions kube-discovery/cmd/kube-discovery/main.go

This file was deleted.

16 changes: 0 additions & 16 deletions kube-discovery/images/BUILD.bazel

This file was deleted.