Skip to content

Separate Go mod for Hack Scripts Folder #20917

Open
@medyagh

Description

@medyagh

we should make a separate go mod for our "Hack Folder Scripts" vs our minikube go mod, for example I see a CVE for # github.com/go-jose/go-jose/v4
but go mod why says it is used by k8s.io/minikube/hack/metrics
there is no need for our main binary go mod to depend on

$ go mod why github.com/go-jose/go-jose/v4
# github.com/go-jose/go-jose/v4
k8s.io/minikube/hack/metrics
cloud.google.com/go/storage
google.golang.org/grpc/xds/googledirectpath
google.golang.org/grpc/internal/xds/bootstrap
google.golang.org/grpc/credentials/tls/certprovider
github.com/spiffe/go-spiffe/v2/bundle/spiffebundle
github.com/go-jose/go-jose/v4

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions