Skip to content

Commit 4ef03c9

Browse files
committed
upgrade to go 1.18; upgrade k8s.io library versions to 0.24.2
1 parent c7a732e commit 4ef03c9

File tree

3 files changed

+326
-72
lines changed

3 files changed

+326
-72
lines changed

docs/developer-guide.md

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424
make vet
2525
make test
2626

27+
## How to upgrade k8s library version
28+
29+
1. go to [a kubernetes repo](https://github.com/kubernetes/apimachinery/tags)
30+
2. look at the tag versions
31+
3. choose the latest release version
32+
4. update the k8s.io library versions in [go.mod](../go.mod)
33+
2734
## How to Release Binaries
2835

2936
See `goreleaser`'s requirements [here](https://goreleaser.com/environment/).

go.mod

+54-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,66 @@
11
module github.com/mattfenwick/cyclonus
22

3-
go 1.16
3+
go 1.18
44

55
require (
66
github.com/go-resty/resty/v2 v2.5.0
7-
github.com/imdario/mergo v0.3.11 // indirect
87
github.com/jstemmer/go-junit-report v0.9.1
98
github.com/olekukonko/tablewriter v0.0.4
10-
github.com/onsi/ginkgo v1.11.0
11-
github.com/onsi/gomega v1.7.0
9+
github.com/onsi/ginkgo v1.14.0
10+
github.com/onsi/gomega v1.10.1
1211
github.com/pkg/errors v0.9.1
1312
github.com/sirupsen/logrus v1.6.0
1413
github.com/spf13/cobra v1.0.0
15-
k8s.io/api v0.21.0-rc.0
16-
k8s.io/apimachinery v0.21.0-rc.0
17-
k8s.io/client-go v0.21.0-rc.0
14+
k8s.io/api v0.24.2
15+
k8s.io/apimachinery v0.24.2
16+
k8s.io/client-go v0.24.2
1817
sigs.k8s.io/yaml v1.2.0
1918
)
19+
20+
require (
21+
cloud.google.com/go v0.81.0 // indirect
22+
github.com/PuerkitoBio/purell v1.1.1 // indirect
23+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
24+
github.com/davecgh/go-spew v1.1.1 // indirect
25+
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
26+
github.com/fsnotify/fsnotify v1.4.9 // indirect
27+
github.com/go-logr/logr v1.2.0 // indirect
28+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
29+
github.com/go-openapi/jsonreference v0.19.5 // indirect
30+
github.com/go-openapi/swag v0.19.14 // indirect
31+
github.com/gogo/protobuf v1.3.2 // indirect
32+
github.com/golang/protobuf v1.5.2 // indirect
33+
github.com/google/gnostic v0.5.7-v3refs // indirect
34+
github.com/google/gofuzz v1.1.0 // indirect
35+
github.com/imdario/mergo v0.3.11 // indirect
36+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
37+
github.com/josharian/intern v1.0.0 // indirect
38+
github.com/json-iterator/go v1.1.12 // indirect
39+
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
40+
github.com/mailru/easyjson v0.7.6 // indirect
41+
github.com/mattn/go-runewidth v0.0.7 // indirect
42+
github.com/moby/spdystream v0.2.0 // indirect
43+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
44+
github.com/modern-go/reflect2 v1.0.2 // indirect
45+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
46+
github.com/nxadm/tail v1.4.4 // indirect
47+
github.com/spf13/pflag v1.0.5 // indirect
48+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
49+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
50+
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
51+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
52+
golang.org/x/text v0.3.7 // indirect
53+
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
54+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
55+
google.golang.org/appengine v1.6.7 // indirect
56+
google.golang.org/protobuf v1.27.1 // indirect
57+
gopkg.in/inf.v0 v0.9.1 // indirect
58+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
59+
gopkg.in/yaml.v2 v2.4.0 // indirect
60+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
61+
k8s.io/klog/v2 v2.60.1 // indirect
62+
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
63+
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
64+
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
65+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
66+
)

0 commit comments

Comments
 (0)