Skip to content

Commit d5888df

Browse files
author
Travis Clarke
committed
Refactor package structure and update refs
1 parent 6d787df commit d5888df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

prow/cmd/mkbuild-cluster/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go_library(
66
importpath = "k8s.io/test-infra/prow/cmd/mkbuild-cluster",
77
visibility = ["//visibility:private"],
88
deps = [
9-
"//pkg/gencred:go_default_library",
9+
"//gencred/pkg/certificate:go_default_library",
1010
"//prow/kube:go_default_library",
1111
"@com_github_sirupsen_logrus//:go_default_library",
1212
"@io_k8s_api//core/v1:go_default_library",

prow/cmd/mkbuild-cluster/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"os/exec"
2626
"strings"
2727

28-
"k8s.io/test-infra/pkg/gencred"
28+
"k8s.io/test-infra/gencred/pkg/certificate"
2929
"k8s.io/test-infra/prow/kube"
3030

3131
"github.com/sirupsen/logrus"
@@ -234,7 +234,7 @@ func describeCluster(o options, kubeContext string) (*describe, error) {
234234
if err != nil {
235235
return nil, fmt.Errorf("create client: %v", err)
236236
}
237-
certPEM, keyPEM, caPEM, err := gencred.CreateClusterCertificateCredentials(clientset)
237+
certPEM, keyPEM, caPEM, err := certificate.CreateClusterCertificateCredentials(clientset)
238238
if err != nil {
239239
return nil, fmt.Errorf("create cert and key: %v", err)
240240
}

0 commit comments

Comments
 (0)