-
Notifications
You must be signed in to change notification settings - Fork 183
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
go.mod is missing replace for k8s.io/endpointslice #2008
Comments
RomanBednar
added a commit
to RomanBednar/azure-disk-csi-driver
that referenced
this issue
Oct 12, 2023
Can be dropped if upstream adds this replace to go.mod: k8s.io/endpointslice => k8s.io/endpointslice v0.28.1 Reported upstream: kubernetes-sigs#2008 Commit fixes verify-deps check which was failing with: go: k8s.io/endpointslice@v0.0.0: invalid version: unknown revision v0.0.0 ERROR: go list -mod=readonly -m all failed with the message listed above. Cachito used in ART builds will fail to resolve dependencies offline. Typically, a pinned version is missing in go.mod, e.g.: replace k8s.io/foo => k8s.io/foo v0.26.0
4 tasks
RomanBednar
added a commit
to RomanBednar/azure-disk-csi-driver
that referenced
this issue
Oct 16, 2023
Can be dropped if upstream adds this replace to go.mod: k8s.io/endpointslice => k8s.io/endpointslice v0.28.1 Reported upstream: kubernetes-sigs#2008 Commit fixes verify-deps check which was failing with: go: k8s.io/endpointslice@v0.0.0: invalid version: unknown revision v0.0.0 ERROR: go list -mod=readonly -m all failed with the message listed above. Cachito used in ART builds will fail to resolve dependencies offline. Typically, a pinned version is missing in go.mod, e.g.: replace k8s.io/foo => k8s.io/foo v0.26.0
RomanBednar
added a commit
to RomanBednar/azure-disk-csi-driver
that referenced
this issue
Oct 18, 2023
Can be dropped if upstream adds this replace to go.mod: k8s.io/endpointslice => k8s.io/endpointslice v0.28.1 Reported upstream: kubernetes-sigs#2008 Commit fixes verify-deps check which was failing with: go: k8s.io/endpointslice@v0.0.0: invalid version: unknown revision v0.0.0 ERROR: go list -mod=readonly -m all failed with the message listed above. Cachito used in ART builds will fail to resolve dependencies offline. Typically, a pinned version is missing in go.mod, e.g.: replace k8s.io/foo => k8s.io/foo v0.26.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
Since this repo depends on
k8s.io/kubernetes
it is required to replace all modules in staging, even though they're not a real dependency of this repo. Discussion here: kubernetes/kubernetes#79384 (comment)k/k recently added
k8s.io/endpointslice
module: kubernetes/kubernetes@22c6678and it is now causing
go list
to fail:What you expected to happen:
go list
should passHow to reproduce it:
Run
go list -mod=readonly -m all
in master.Anything else we need to know?:
This was found by OpenShift CI during rebase where we run dependency verification, I believe adding this line to
go.mod
should fix the issue:k8s.io/endpointslice => k8s.io/endpointslice v0.28.1
Environment:
kubectl version
): n/auname -a
): n/aThe text was updated successfully, but these errors were encountered: