kubernetes-secret-generator icon indicating copy to clipboard operation
kubernetes-secret-generator copied to clipboard

Go Versioning

Open nyarly opened this issue 1 year ago • 0 comments

Describe the bug

Because the project is tagged v3 and has a go.mod file, Go expects the module path to include the major version:

I can appreciate that you ship this project as Helm + Docker images, but I'd like to incorporate the Go API into my deploy process, which involves starting with go get

To Reproduce

⮀ go get github.com/mittwald/kubernetes-secret-generator/pkg/apis/secretgenerator/[email protected]
go: github.com/mittwald/kubernetes-secret-generator/pkg/apis/secretgenerator/[email protected]: github.com/mittwald/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/mittwald/kubernetes-secret-generator/v3")

nyarly avatar Apr 13 '23 21:04 nyarly