go-helm-client
go-helm-client copied to clipboard
Go dependecies error
After importing github.com/mittwald/go-helm-client * v0.8.4 * module, Getting below error
# k8s.io/cli-runtime/pkg/resource ../../../../.go/pkg/mod/k8s.io/[email protected]/pkg/resource/metadata_decoder.go:27:33: undefined: "k8s.io/apimachinery/pkg/runtime/serializer/json".CaseSensitiveJSONIterator
# k8s.io/cli-runtime/pkg/resource
../../../../.go/pkg/mod/k8s.io/[email protected]/pkg/resource/metadata_decoder.go:27:33: undefined: "k8s.io/apimachinery/pkg/runtime/serializer/json".CaseSensitiveJSONIterator`
Hey @deepak7093
did you try importing the package in a new or in an existing go project?
If the latter is the case, I'd assume that the problem is caused either by caching (maybe try go clean optionally using '-modcache') or by another conflicting import.
On a newly created go project, i could successfully import the module via go get github.com/mittwald/[email protected].
Hi @elenz97 I am able to download the packages, seems like problem with conflicts with other modules. Problem still persist after go clean -modcache
I have a similar problem. I resolved it by running explicitly
< go get -u k8s.io/cli-runtime
go: downloading k8s.io/cli-runtime v0.23.1
go get: upgraded k8s.io/cli-runtime v0.22.4 => v0.23.1
go get: upgraded sigs.k8s.io/kustomize/api v0.8.11 => v0.10.1
go get: upgraded sigs.k8s.io/kustomize/kyaml v0.11.0 => v0.13.0