Skip to content

Commit 162c1eb

Browse files
JoelSpeedcloud-team-rebase-bot
authored andcommitted
UPSTREAM: <carry>: Resolve dynamic resource allocation unknown revision
1 parent b3a81ba commit 162c1eb

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

go.mod

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ module k8s.io/cloud-provider-gcp
22

33
go 1.19
44

5+
// k8s.io/kubernetes imports dynamic-resource-allocation from the staging repos as of 1.26.0.
6+
// This means that `go list -mod readonly -m -f '{{ if not .Main }}{{ .String }}{{ end }}' all` fails
7+
// as it cannot find the v0.0.0 revision. This is needed to resolve that error and fixes
8+
// the ART builds.
9+
replace k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.26.0
10+
511
require (
612
cloud.google.com/go v0.99.0
713
github.com/evanphx/json-patch v4.12.0+incompatible

vendor/modules.txt

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,13 +1463,37 @@ sigs.k8s.io/structured-merge-diff/v4/value
14631463
# sigs.k8s.io/yaml v1.3.0
14641464
## explicit; go 1.12
14651465
sigs.k8s.io/yaml
1466-
# k8s.io/api => k8s.io/api v0.27.1
1467-
# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.27.1
1468-
# k8s.io/apimachinery => k8s.io/apimachinery v0.27.1
1469-
# k8s.io/apiserver => k8s.io/apiserver v0.27.1
1470-
# k8s.io/cli-runtime => k8s.io/cli-runtime v0.27.1
1471-
# k8s.io/client-go => k8s.io/client-go v0.27.1
1472-
# k8s.io/cloud-provider => k8s.io/cloud-provider v0.27.1
1466+
# k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.26.0
1467+
# cloud.google.com/go => cloud.google.com/go v0.75.0
1468+
# github.com/go-openapi/spec => github.com/go-openapi/spec v0.19.6
1469+
# github.com/go-openapi/swag => github.com/go-openapi/swag v0.19.7
1470+
# github.com/gofrs/flock => github.com/gofrs/flock v0.7.1
1471+
# github.com/google/uuid => github.com/google/uuid v1.1.4
1472+
# github.com/hashicorp/golang-lru => github.com/hashicorp/golang-lru v0.5.4
1473+
# github.com/imdario/mergo => github.com/imdario/mergo v0.3.11
1474+
# github.com/mrunalp/fileutils => github.com/mrunalp/fileutils v0.5.0
1475+
# github.com/onsi/ginkgo => github.com/onsi/ginkgo v1.14.1
1476+
# github.com/onsi/gomega v1.10.3 => github.com/onsi/gomega v1.10.3
1477+
# github.com/spf13/cobra => github.com/spf13/cobra v1.4.0
1478+
# github.com/spf13/pflag => github.com/spf13/pflag v1.0.5
1479+
# github.com/stretchr/testify => github.com/stretchr/testify v1.7.0
1480+
# go.uber.org/zap => go.uber.org/zap v1.17.0
1481+
# golang.org/x/lint => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
1482+
# golang.org/x/oauth2 => golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
1483+
# golang.org/x/sync => golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
1484+
# google.golang.org/api => google.golang.org/api v0.63.0
1485+
# google.golang.org/genproto => google.golang.org/genproto v0.0.0-20210111234610-22ae2b108f89
1486+
# google.golang.org/grpc => google.golang.org/grpc v1.34.0
1487+
# gopkg.in/check.v1 => gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b
1488+
# gopkg.in/gcfg.v1 => gopkg.in/gcfg.v1 v1.2.3
1489+
# gopkg.in/warnings.v0 => gopkg.in/warnings.v0 v0.1.2
1490+
# k8s.io/api => k8s.io/api v0.26.0
1491+
# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.0
1492+
# k8s.io/apimachinery => k8s.io/apimachinery v0.26.0
1493+
# k8s.io/apiserver => k8s.io/apiserver v0.26.0
1494+
# k8s.io/cli-runtime => k8s.io/cli-runtime v0.26.0
1495+
# k8s.io/client-go => k8s.io/client-go v0.26.0
1496+
# k8s.io/cloud-provider => k8s.io/cloud-provider v0.26.0
14731497
# k8s.io/cloud-provider-gcp/providers => ./providers
14741498
# k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.27.1
14751499
# k8s.io/code-generator => k8s.io/code-generator v0.27.1

0 commit comments

Comments
 (0)