Skip to content

Commit 633bb1f

Browse files
Merge pull request #94 from RadekManak/rebase-k8s-1.29
OCPCLOUD-2428: Rebase k8s to 1.29 and update dependencies
2 parents daa672e + de5e118 commit 633bb1f

File tree

1,241 files changed

+60833
-20532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,241 files changed

+60833
-20532
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ endif
2424
VERSION ?= $(shell git describe --always --abbrev=7)
2525
REPO_PATH ?= github.com/openshift/machine-api-provider-azure
2626
LD_FLAGS ?= -X $(REPO_PATH)/pkg/version.Raw=$(VERSION) -extldflags -static
27-
BUILD_IMAGE ?= registry.ci.openshift.org/openshift/release:golang-1.20
27+
BUILD_IMAGE ?= registry.ci.openshift.org/openshift/release:golang-1.21
2828

2929
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
30-
ENVTEST_K8S_VERSION = 1.28
30+
ENVTEST_K8S_VERSION = 1.29
3131

3232
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
3333
CONTROLLER_GEN = go run ${PROJECT_DIR}/vendor/sigs.k8s.io/controller-tools/cmd/controller-gen

cmd/manager/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ func main() {
153153
stopSignalContext.Done(),
154154
)
155155
if err != nil {
156-
klog.Fatalf("Failed to create feature gate accessor: %w", err)
156+
klog.Fatalf("Failed to create feature gate accessor: %v", err)
157157
}
158158

159159
featureGates, err := awaitEnabledFeatureGates(featureGateAccessor, 1*time.Minute)
160160
if err != nil {
161-
klog.Fatalf("Failed to get feature gates: %w", err)
161+
klog.Fatalf("Failed to get feature gates: %v", err)
162162
}
163163

164164
azureWorkloadIdentityEnabled := featureGates.Enabled(configv1.FeatureGateAzureWorkloadIdentity)

go.mod

Lines changed: 63 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,88 @@
11
module github.com/openshift/machine-api-provider-azure
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.21.0
46

57
require (
6-
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible
7-
github.com/Azure/go-autorest/autorest v0.11.28
8-
github.com/Azure/go-autorest/autorest/adal v0.9.22 // indirect
8+
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
9+
github.com/Azure/go-autorest/autorest v0.11.29
910
github.com/Azure/go-autorest/autorest/to v0.4.0
1011
github.com/ghodss/yaml v1.0.0
11-
github.com/go-logr/logr v1.2.4
12+
github.com/go-logr/logr v1.4.1
1213
github.com/golang/mock v1.6.0
13-
github.com/google/go-cmp v0.5.9
14-
github.com/hashicorp/golang-lru v0.5.4
14+
github.com/google/go-cmp v0.6.0
15+
github.com/hashicorp/golang-lru v1.0.2
1516
github.com/mitchellh/mapstructure v1.5.0
16-
github.com/onsi/ginkgo/v2 v2.12.1
17-
github.com/onsi/gomega v1.28.0
18-
github.com/openshift/api v0.0.0-20231120222239-b86761094ee3
19-
github.com/openshift/machine-api-operator v0.2.1-0.20240116103101-9ee88ebc3723
17+
github.com/onsi/ginkgo/v2 v2.14.0
18+
github.com/onsi/gomega v1.30.0
19+
github.com/openshift/api v0.0.0-20240124164020-e2ce40831f2e
20+
github.com/openshift/machine-api-operator v0.2.1-0.20240125175440-c9de8bda0dd1
2021
github.com/pkg/errors v0.9.1
21-
github.com/spf13/cobra v1.7.0
22-
golang.org/x/crypto v0.14.0
23-
golang.org/x/net v0.17.0 // indirect
22+
github.com/spf13/cobra v1.8.0
23+
golang.org/x/crypto v0.18.0
2424

25-
// kube 1.28
26-
k8s.io/api v0.28.2
27-
k8s.io/apimachinery v0.28.2
28-
k8s.io/client-go v0.28.2
29-
k8s.io/klog/v2 v2.100.1
30-
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
31-
sigs.k8s.io/controller-runtime v0.16.2
32-
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20230926180527-c93e2abcb28e
33-
sigs.k8s.io/controller-tools v0.13.0
34-
sigs.k8s.io/yaml v1.3.0
25+
// kube 1.29
26+
k8s.io/api v0.29.0
27+
k8s.io/apimachinery v0.29.0
28+
k8s.io/client-go v0.29.0
29+
k8s.io/klog/v2 v2.110.1
30+
k8s.io/utils v0.0.0-20240102154912-e7106e64919e
31+
sigs.k8s.io/controller-runtime v0.17.0
32+
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240116121732-6747c42ce339
33+
sigs.k8s.io/controller-tools v0.14.0
34+
sigs.k8s.io/yaml v1.4.0
3535
)
3636

3737
require (
38-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0
39-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0
40-
github.com/jongio/azidext/go/azidext v0.4.0
41-
github.com/openshift/client-go v0.0.0-20231121143148-910ca30a1a9a
42-
github.com/openshift/library-go v0.0.0-20230927113136-405c34317fa4
38+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1
39+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1
40+
github.com/jongio/azidext/go/azidext v0.5.0
41+
github.com/openshift/client-go v0.0.0-20240115204758-e6bf7d631d5e
42+
github.com/openshift/library-go v0.0.0-20240116081341-964bcb3f545c
4343
)
4444

4545
require (
46-
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect
46+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect
4747
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
4848
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
49+
github.com/Azure/go-autorest/autorest/adal v0.9.23 // indirect
4950
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
5051
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
5152
github.com/Azure/go-autorest/logger v0.2.1 // indirect
5253
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
53-
github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0 // indirect
54+
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect
5455
github.com/MakeNowJust/heredoc v1.0.0 // indirect
5556
github.com/beorn7/perks v1.0.1 // indirect
5657
github.com/blang/semver/v4 v4.0.0 // indirect
5758
github.com/cespare/xxhash/v2 v2.2.0 // indirect
5859
github.com/chai2010/gettext-go v1.0.2 // indirect
5960
github.com/davecgh/go-spew v1.1.1 // indirect
60-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
61+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
6162
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
62-
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
63+
github.com/evanphx/json-patch/v5 v5.8.0 // indirect
6364
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
64-
github.com/fatih/color v1.15.0 // indirect
65-
github.com/fsnotify/fsnotify v1.6.0 // indirect
65+
github.com/fatih/color v1.16.0 // indirect
66+
github.com/fsnotify/fsnotify v1.7.0 // indirect
6667
github.com/go-errors/errors v1.4.2 // indirect
67-
github.com/go-logr/zapr v1.2.4 // indirect
68+
github.com/go-logr/zapr v1.3.0 // indirect
6869
github.com/go-openapi/jsonpointer v0.19.6 // indirect
6970
github.com/go-openapi/jsonreference v0.20.2 // indirect
7071
github.com/go-openapi/swag v0.22.3 // indirect
7172
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
7273
github.com/gobuffalo/flect v1.0.2 // indirect
7374
github.com/gogo/protobuf v1.3.2 // indirect
7475
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
76+
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
7577
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
7678
github.com/golang/protobuf v1.5.3 // indirect
7779
github.com/google/btree v1.0.1 // indirect
7880
github.com/google/gnostic-models v0.6.8 // indirect
7981
github.com/google/gofuzz v1.2.0 // indirect
8082
github.com/google/pprof v0.0.0-20230926050212-f7f687d19a98 // indirect
8183
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
82-
github.com/google/uuid v1.3.0 // indirect
84+
github.com/google/uuid v1.5.0 // indirect
85+
github.com/gorilla/websocket v1.5.0 // indirect
8386
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
8487
github.com/imdario/mergo v0.3.13 // indirect
8588
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -89,57 +92,58 @@ require (
8992
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
9093
github.com/mailru/easyjson v0.7.7 // indirect
9194
github.com/mattn/go-colorable v0.1.13 // indirect
92-
github.com/mattn/go-isatty v0.0.19 // indirect
93-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
95+
github.com/mattn/go-isatty v0.0.20 // indirect
96+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
9497
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
9598
github.com/moby/spdystream v0.2.0 // indirect
9699
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
97100
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
98101
github.com/modern-go/reflect2 v1.0.2 // indirect
99102
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
100103
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
104+
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
101105
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
102-
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
103-
github.com/prometheus/client_golang v1.17.0 // indirect
104-
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
105-
github.com/prometheus/common v0.44.0 // indirect
106+
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
107+
github.com/prometheus/client_golang v1.18.0 // indirect
108+
github.com/prometheus/client_model v0.5.0 // indirect
109+
github.com/prometheus/common v0.45.0 // indirect
106110
github.com/prometheus/procfs v0.12.0 // indirect
107111
github.com/robfig/cron v1.2.0 // indirect
108112
github.com/rogpeppe/go-internal v1.11.0 // indirect
109113
github.com/russross/blackfriday/v2 v2.1.0 // indirect
110114
github.com/spf13/afero v1.10.0 // indirect
111115
github.com/spf13/pflag v1.0.5 // indirect
112116
github.com/stretchr/objx v0.5.1 // indirect
113-
github.com/stretchr/testify v1.8.4 // indirect
114117
github.com/xlab/treeprint v1.2.0 // indirect
115118
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
116119
go.uber.org/multierr v1.11.0 // indirect
117120
go.uber.org/zap v1.26.0 // indirect
118121
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
119-
golang.org/x/mod v0.12.0 // indirect
120-
golang.org/x/oauth2 v0.8.0 // indirect
121-
golang.org/x/sync v0.3.0 // indirect
122-
golang.org/x/sys v0.13.0 // indirect
123-
golang.org/x/term v0.13.0 // indirect
124-
golang.org/x/text v0.13.0 // indirect
122+
golang.org/x/mod v0.14.0 // indirect
123+
golang.org/x/net v0.20.0 // indirect
124+
golang.org/x/oauth2 v0.12.0 // indirect
125+
golang.org/x/sync v0.5.0 // indirect
126+
golang.org/x/sys v0.16.0 // indirect
127+
golang.org/x/term v0.16.0 // indirect
128+
golang.org/x/text v0.14.0 // indirect
125129
golang.org/x/time v0.3.0 // indirect
126-
golang.org/x/tools v0.13.0 // indirect
130+
golang.org/x/tools v0.16.1 // indirect
127131
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
128132
google.golang.org/appengine v1.6.7 // indirect
129133
google.golang.org/protobuf v1.31.0 // indirect
130134
gopkg.in/inf.v0 v0.9.1 // indirect
131135
gopkg.in/yaml.v2 v2.4.0 // indirect
132136
gopkg.in/yaml.v3 v3.0.1 // indirect
133-
k8s.io/apiextensions-apiserver v0.28.2 // indirect
134-
k8s.io/apiserver v0.28.2 // indirect
135-
k8s.io/cli-runtime v0.28.2 // indirect
136-
k8s.io/component-base v0.28.2 // indirect
137-
k8s.io/kube-aggregator v0.28.2 // indirect
138-
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
139-
k8s.io/kubectl v0.28.2 // indirect
137+
k8s.io/apiextensions-apiserver v0.29.0 // indirect
138+
k8s.io/apiserver v0.29.0 // indirect
139+
k8s.io/cli-runtime v0.29.0 // indirect
140+
k8s.io/component-base v0.29.0 // indirect
141+
k8s.io/kube-aggregator v0.29.0 // indirect
142+
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
143+
k8s.io/kubectl v0.29.0 // indirect
140144
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
141145
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 // indirect
142146
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
143147
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
144-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
148+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
145149
)

0 commit comments

Comments
 (0)