Skip to content

Commit

Permalink
UPSTREAM: <carry>: add replace for k8s.io/endpointslice module
Browse files Browse the repository at this point in the history
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
  • Loading branch information
RomanBednar committed Oct 16, 2023
1 parent bb83da8 commit 1ee13ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ replace (
k8s.io/cri-api => k8s.io/cri-api v0.28.1
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.28.1
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.28.1
k8s.io/endpointslice => k8s.io/endpointslice v0.28.1
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.28.1
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.28.1
k8s.io/kube-proxy => k8s.io/kube-proxy v0.28.1
Expand Down
1 change: 1 addition & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,7 @@ sigs.k8s.io/yaml
# k8s.io/cri-api => k8s.io/cri-api v0.28.1
# k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.28.1
# k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.28.1
# k8s.io/endpointslice => k8s.io/endpointslice v0.28.1
# k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.28.1
# k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.28.1
# k8s.io/kube-proxy => k8s.io/kube-proxy v0.28.1
Expand Down

0 comments on commit 1ee13ca

Please sign in to comment.