Unverified Commit 7543ddde authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60901 from ixdy/client-go-bazel

Automatic merge from submit-queue (batch tested with PRs 60696, 60876, 60901, 60925, 60428). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. client-go/util/cert go_library shouldn't depend on testdata **What this PR does / why we need it**: https://github.com/kubernetes/kubernetes/commit/981dd8dc6615f397a9b85c5b965998dc8a0b1338#diff-eb996d3ca3a215d7d93faaaffb77dbd7 accidentally added a testdata dependency on the go_library rule, rather than the go_test. This breaks vendoring of this rule into other bazel projects that prune out tests and testdata. Only the unit test depends on testdata, so the BUILD file should reflect that, too. x-ref https://github.com/kubernetes/test-infra/pull/6835#discussion_r173010769 **Release note**: ```release-note NONE ``` cc @BenTheElder @krzyzacy
parents 5aa40c60 4c60b776
......@@ -24,9 +24,6 @@ go_library(
"io.go",
"pem.go",
],
data = [
"testdata/dontUseThisKey.pem",
],
importpath = "k8s.io/client-go/util/cert",
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment