-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while getting dependencies of the helm v3 package #11691
Comments
Hi @amitjain3087 I faced same issue now. Any go.mod entries to get past the issue ? |
Hi @Anshu-Garg, I am just pointing it to helm.sh/helm/v3 v3.9.4, but this is just a work around not a solution . |
Can you be a bit more specific around your setup. If I create a basic go project that imports helm api, then
Create the module/project:
Run
|
I am having go 1.17 in my environment , is that can be reason it is not working for me ?? |
I get a slightly different error if I set my
Since go 1.17 is unsupported, I think you will need to update to go 1.18 (or 1.19). |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Since this was answered and there's been no further activity, I'm going to go ahead and close this. |
Issue:-
I have done go get helm.sh/helm/v3 which is successfully happened but after that when I am doing go mod tidy I got
go: downloading GitHub - klauspost/compress: Optimized Go Compression Packages v1.13.6
go: finding module for package github.com/chai2010/gettext-go/gettext 1
helm.sh/helm/v3/pkg/kube imports
k8s.io/kubectl/pkg/cmd/util imports
k8s.io/kubectl/pkg/util/i18n imports
github.com/chai2010/gettext-go/gettext: module github.com/chai2010/gettext-go@latest found (v1.0.2), but does not contain package github.com/chai2010/gettext-go/gettext
Assumption:-
It seems that helm.sh/helm/v3/pkg/kube needs to update its reference to k8s.io/kubectl from v0.26.0 to v0.27.0 or later which looks to be the release where kubectl updated to v1.0.2 of github.com/chai2010/gettext-go where the package was changed from github.com/chai2010/gettext-go/gettext to just github.com/chai2010/gettext-go.
The text was updated successfully, but these errors were encountered: