Skip to content

Commit 5b733f5

Browse files
committed
Switch project to go 1.19
Update controller-runtime, client-go dependencies
1 parent 803881e commit 5b733f5

File tree

3 files changed

+442
-295
lines changed

3 files changed

+442
-295
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ plugins: noop-plugin ufm-plugin ; $(info Building plugins...) ## Build plugins
8383

8484
%-plugin: $(PLUGINSBUILDDIR)
8585
@echo Building $* plugin
86-
$Q $(GO) build $(GOFLAGS) -ldflags "-X $(REPO_PATH)/version=1.0" -o $(PLUGINSBUILDDIR)/$*.so -buildmode=plugin -i $(REPO_PATH)/pkg/sm/plugins/$*
86+
$Q $(GO) build $(GOFLAGS) -ldflags "-X $(REPO_PATH)/version=1.0" -o $(PLUGINSBUILDDIR)/$*.so -buildmode=plugin $(REPO_PATH)/pkg/sm/plugins/$*
8787
@echo Done building $* plugin
8888

8989
TEST_TARGETS := test-bench test-short test-verbose test-race

go.mod

Lines changed: 55 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,65 @@
11
module github.com/Mellanox/ib-kubernetes
22

3-
go 1.13
3+
go 1.19
44

55
require (
66
github.com/caarlos0/env/v6 v6.2.1
7-
github.com/googleapis/gnostic v0.4.0 // indirect
8-
github.com/hashicorp/golang-lru v0.5.4 // indirect
9-
github.com/imdario/mergo v0.3.8 // indirect
10-
github.com/json-iterator/go v1.1.9 // indirect
117
github.com/k8snetworkplumbingwg/network-attachment-definition-client v0.0.0-20200626054723-37f83d1996bc
12-
github.com/kr/pretty v0.2.0 // indirect
13-
github.com/onsi/ginkgo v1.12.0
14-
github.com/onsi/gomega v1.9.0
15-
github.com/pkg/errors v0.9.1 // indirect
8+
github.com/onsi/ginkgo v1.16.5
9+
github.com/onsi/gomega v1.20.1
1610
github.com/rs/zerolog v1.18.0
17-
github.com/stretchr/testify v1.5.1
18-
go.uber.org/multierr v1.5.0 // indirect
19-
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
20-
golang.org/x/text v0.3.3 // indirect
21-
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect
22-
k8s.io/api v0.18.3
23-
k8s.io/apimachinery v0.18.3
24-
k8s.io/client-go v0.18.3
25-
sigs.k8s.io/controller-runtime v0.5.2
11+
github.com/stretchr/testify v1.7.0
12+
k8s.io/api v0.25.1
13+
k8s.io/apimachinery v0.25.1
14+
k8s.io/client-go v0.25.1
15+
sigs.k8s.io/controller-runtime v0.13.0
2616
)
2717

28-
replace (
29-
k8s.io/client-go => k8s.io/client-go v0.18.3
30-
k8s.io/code-generator => k8s.io/code-generator v0.18.3
18+
require (
19+
github.com/PuerkitoBio/purell v1.1.1 // indirect
20+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
21+
github.com/containernetworking/cni v0.7.1 // indirect
22+
github.com/davecgh/go-spew v1.1.1 // indirect
23+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
24+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
25+
github.com/fsnotify/fsnotify v1.5.4 // indirect
26+
github.com/go-logr/logr v1.2.3 // indirect
27+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
28+
github.com/go-openapi/jsonreference v0.19.5 // indirect
29+
github.com/go-openapi/swag v0.19.14 // indirect
30+
github.com/gogo/protobuf v1.3.2 // indirect
31+
github.com/golang/protobuf v1.5.2 // indirect
32+
github.com/google/gnostic v0.5.7-v3refs // indirect
33+
github.com/google/go-cmp v0.5.8 // indirect
34+
github.com/google/gofuzz v1.1.0 // indirect
35+
github.com/imdario/mergo v0.3.12 // indirect
36+
github.com/josharian/intern v1.0.0 // indirect
37+
github.com/json-iterator/go v1.1.12 // indirect
38+
github.com/mailru/easyjson v0.7.6 // indirect
39+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
40+
github.com/modern-go/reflect2 v1.0.2 // indirect
41+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
42+
github.com/nxadm/tail v1.4.8 // indirect
43+
github.com/pkg/errors v0.9.1 // indirect
44+
github.com/pmezard/go-difflib v1.0.0 // indirect
45+
github.com/spf13/pflag v1.0.5 // indirect
46+
github.com/stretchr/objx v0.2.0 // indirect
47+
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
48+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
49+
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
50+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
51+
golang.org/x/text v0.3.7 // indirect
52+
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
53+
google.golang.org/appengine v1.6.7 // indirect
54+
google.golang.org/protobuf v1.28.0 // indirect
55+
gopkg.in/inf.v0 v0.9.1 // indirect
56+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
57+
gopkg.in/yaml.v2 v2.4.0 // indirect
58+
gopkg.in/yaml.v3 v3.0.1 // indirect
59+
k8s.io/klog/v2 v2.70.1 // indirect
60+
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
61+
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
62+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
63+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
64+
sigs.k8s.io/yaml v1.3.0 // indirect
3165
)

0 commit comments

Comments
 (0)