Skip to content

Commit 1a310ef

Browse files
upgrade Kubernetes Go client to v0.31.2 and Go version to 1.23
1 parent 22cd657 commit 1a310ef

File tree

2 files changed

+82
-70
lines changed

2 files changed

+82
-70
lines changed

go.mod

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/hashicorp/terraform-provider-kubernetes
22

3-
go 1.22.5
3+
go 1.23
44

55
require (
66
github.com/Masterminds/semver v1.5.0
@@ -24,12 +24,12 @@ require (
2424
github.com/mitchellh/go-homedir v1.1.0
2525
github.com/mitchellh/hashstructure v1.1.0
2626
github.com/robfig/cron v1.2.0
27-
github.com/stretchr/testify v1.8.4
28-
golang.org/x/mod v0.16.0
29-
k8s.io/api v0.30.3
27+
github.com/stretchr/testify v1.9.0
28+
golang.org/x/mod v0.17.0
29+
k8s.io/api v0.31.2
3030
k8s.io/apiextensions-apiserver v0.30.3
31-
k8s.io/apimachinery v0.30.3
32-
k8s.io/client-go v0.30.3
31+
k8s.io/apimachinery v0.31.2
32+
k8s.io/client-go v0.31.2
3333
k8s.io/kube-aggregator v0.30.3
3434
k8s.io/kubectl v0.30.3
3535
k8s.io/kubernetes v1.30.3
@@ -46,6 +46,7 @@ require (
4646
github.com/bgentry/speakeasy v0.1.0 // indirect
4747
github.com/cloudflare/circl v1.3.7 // indirect
4848
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
49+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
4950
github.com/google/gnostic-models v0.6.8 // indirect
5051
github.com/gorilla/websocket v1.5.0 // indirect
5152
github.com/huandu/xstrings v1.3.3 // indirect
@@ -60,9 +61,10 @@ require (
6061
github.com/spf13/cast v1.5.0 // indirect
6162
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
6263
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
64+
github.com/x448/float16 v0.8.4 // indirect
6365
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
64-
golang.org/x/sync v0.6.0 // indirect
65-
golang.org/x/tools v0.18.0 // indirect
66+
golang.org/x/sync v0.7.0 // indirect
67+
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
6668
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
6769
)
6870

@@ -71,16 +73,16 @@ require (
7173
github.com/MakeNowJust/heredoc v1.0.0 // indirect
7274
github.com/agext/levenshtein v1.2.3 // indirect
7375
github.com/chai2010/gettext-go v1.0.2 // indirect
74-
github.com/davecgh/go-spew v1.1.1 // indirect
76+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
7577
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
7678
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
7779
github.com/fatih/camelcase v1.0.0 // indirect
7880
github.com/fatih/color v1.16.0 // indirect
7981
github.com/go-errors/errors v1.4.2 // indirect
80-
github.com/go-logr/logr v1.4.1 // indirect
82+
github.com/go-logr/logr v1.4.2 // indirect
8183
github.com/go-openapi/jsonpointer v0.19.6 // indirect
8284
github.com/go-openapi/jsonreference v0.20.2 // indirect
83-
github.com/go-openapi/swag v0.22.3 // indirect
85+
github.com/go-openapi/swag v0.22.4 // indirect
8486
github.com/gogo/protobuf v1.3.2 // indirect
8587
github.com/golang/protobuf v1.5.4 // indirect
8688
github.com/google/btree v1.1.2 // indirect
@@ -111,40 +113,40 @@ require (
111113
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
112114
github.com/mitchellh/mapstructure v1.5.0 // indirect
113115
github.com/mitchellh/reflectwalk v1.0.2 // indirect
114-
github.com/moby/spdystream v0.2.0 // indirect
116+
github.com/moby/spdystream v0.4.0 // indirect
115117
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
116118
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
117119
github.com/modern-go/reflect2 v1.0.2 // indirect
118120
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
119121
github.com/oklog/run v1.1.0 // indirect
120122
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
121123
github.com/pkg/errors v0.9.1 // indirect
122-
github.com/pmezard/go-difflib v1.0.0 // indirect
124+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
123125
github.com/russross/blackfriday v1.6.0 // indirect
124126
github.com/spf13/cobra v1.7.0 // indirect
125127
github.com/spf13/pflag v1.0.5 // indirect
126128
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
127129
github.com/xlab/treeprint v1.2.0 // indirect
128130
github.com/zclconf/go-cty v1.14.4
129131
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
130-
golang.org/x/crypto v0.23.0 // indirect
131-
golang.org/x/net v0.23.0 // indirect
132-
golang.org/x/oauth2 v0.17.0 // indirect
133-
golang.org/x/sys v0.20.0 // indirect
134-
golang.org/x/term v0.20.0 // indirect
135-
golang.org/x/text v0.15.0 // indirect
132+
golang.org/x/crypto v0.24.0 // indirect
133+
golang.org/x/net v0.26.0 // indirect
134+
golang.org/x/oauth2 v0.21.0 // indirect
135+
golang.org/x/sys v0.21.0 // indirect
136+
golang.org/x/term v0.21.0 // indirect
137+
golang.org/x/text v0.16.0 // indirect
136138
golang.org/x/time v0.3.0 // indirect
137139
google.golang.org/appengine v1.6.8 // indirect
138140
google.golang.org/grpc v1.63.2
139-
google.golang.org/protobuf v1.34.0 // indirect
141+
google.golang.org/protobuf v1.34.2 // indirect
140142
gopkg.in/inf.v0 v0.9.1 // indirect
141143
gopkg.in/yaml.v2 v2.4.0 // indirect
142144
gopkg.in/yaml.v3 v3.0.1 // indirect
143145
k8s.io/cli-runtime v0.30.3 // indirect
144146
k8s.io/component-base v0.30.3 // indirect
145-
k8s.io/klog/v2 v2.120.1 // indirect
147+
k8s.io/klog/v2 v2.130.1 // indirect
146148
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
147-
k8s.io/utils v0.0.0-20231127182322-b307cd553661
149+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
148150
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
149151
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
150152
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect

0 commit comments

Comments
 (0)