Skip to content

Commit a4fdcc9

Browse files
author
Takashi Kusumi
authored
Update dependencies for Kubernetes 1.31 (#315)
* Update dependencies for Kubernetes 1.31 * Update tools
1 parent 72e2de2 commit a4fdcc9

File tree

4 files changed

+97
-93
lines changed

4 files changed

+97
-93
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
builds:
23
- env:
34
- CGO_ENABLED=0

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ build:
55
go build -o dist/stern .
66

77
TOOLS_BIN_DIR := $(CURDIR)/hack/tools/bin
8-
GORELEASER_VERSION ?= v1.25.1
8+
GORELEASER_VERSION ?= v2.3.2
99
GORELEASER := $(TOOLS_BIN_DIR)/goreleaser
10-
GOLANGCI_LINT_VERSION ?= v1.57.2
10+
GOLANGCI_LINT_VERSION ?= v1.61.0
1111
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/golangci-lint
1212
VALIDATE_KREW_MAIFEST_VERSION ?= v0.4.4
1313
VALIDATE_KREW_MAIFEST := $(TOOLS_BIN_DIR)/validate-krew-manifest
1414
GORELEASER_FILTER_VERSION ?= v0.3.0
1515
GORELEASER_FILTER := $(TOOLS_BIN_DIR)/goreleaser-filter
1616

1717
$(GORELEASER):
18-
GOBIN=$(TOOLS_BIN_DIR) go install github.com/goreleaser/goreleaser@$(GORELEASER_VERSION)
18+
GOBIN=$(TOOLS_BIN_DIR) go install github.com/goreleaser/goreleaser/v2@$(GORELEASER_VERSION)
1919

2020
$(GOLANGCI_LINT):
2121
GOBIN=$(TOOLS_BIN_DIR) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION)

go.mod

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
module github.com/stern/stern
22

3-
go 1.22.0
3+
go 1.23
44

5-
toolchain go1.22.2
5+
toolchain go1.23.2
66

77
require (
88
github.com/AlecAivazis/survey/v2 v2.3.7
9-
github.com/fatih/color v1.16.0
9+
github.com/fatih/color v1.17.0
1010
github.com/mitchellh/go-homedir v1.1.0
1111
github.com/pkg/errors v0.9.1
12-
github.com/spf13/cast v1.6.0
13-
github.com/spf13/cobra v1.8.0
12+
github.com/spf13/cast v1.7.0
13+
github.com/spf13/cobra v1.8.1
1414
github.com/spf13/pflag v1.0.5
15-
golang.org/x/sync v0.7.0
16-
golang.org/x/time v0.5.0
15+
golang.org/x/sync v0.8.0
16+
golang.org/x/time v0.7.0
1717
gopkg.in/yaml.v3 v3.0.1
18-
k8s.io/api v0.30.0
19-
k8s.io/apimachinery v0.30.0
20-
k8s.io/cli-runtime v0.30.0
21-
k8s.io/client-go v0.30.0
22-
k8s.io/klog/v2 v2.120.1
23-
k8s.io/utils v0.0.0-20240310230437-4693a0247e57
18+
k8s.io/api v0.31.1
19+
k8s.io/apimachinery v0.31.1
20+
k8s.io/cli-runtime v0.31.1
21+
k8s.io/client-go v0.31.1
22+
k8s.io/klog/v2 v2.130.1
23+
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6
2424
)
2525

2626
require (
2727
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
2828
github.com/blang/semver/v4 v4.0.0 // indirect
2929
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
30-
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
31-
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
30+
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
31+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
3232
github.com/go-errors/errors v1.5.1 // indirect
33-
github.com/go-logr/logr v1.4.1 // indirect
33+
github.com/go-logr/logr v1.4.2 // indirect
3434
github.com/go-openapi/jsonpointer v0.21.0 // indirect
3535
github.com/go-openapi/jsonreference v0.21.0 // indirect
3636
github.com/go-openapi/swag v0.23.0 // indirect
3737
github.com/gogo/protobuf v1.3.2 // indirect
3838
github.com/golang/protobuf v1.5.4 // indirect
39-
github.com/google/btree v1.1.2 // indirect
39+
github.com/google/btree v1.1.3 // indirect
4040
github.com/google/gnostic-models v0.6.8 // indirect
4141
github.com/google/go-cmp v0.6.0 // indirect
4242
github.com/google/gofuzz v1.2.0 // indirect
@@ -59,21 +59,22 @@ require (
5959
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
6060
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6161
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
62+
github.com/x448/float16 v0.8.4 // indirect
6263
github.com/xlab/treeprint v1.2.0 // indirect
63-
go.starlark.net v0.0.0-20240411212711-9b43f0afd521 // indirect
64-
golang.org/x/net v0.24.0 // indirect
65-
golang.org/x/oauth2 v0.19.0 // indirect
66-
golang.org/x/sys v0.19.0 // indirect
67-
golang.org/x/term v0.19.0 // indirect
68-
golang.org/x/text v0.14.0 // indirect
69-
google.golang.org/protobuf v1.33.0 // indirect
64+
go.starlark.net v0.0.0-20240925182052-1207426daebd // indirect
65+
golang.org/x/net v0.30.0 // indirect
66+
golang.org/x/oauth2 v0.23.0 // indirect
67+
golang.org/x/sys v0.26.0 // indirect
68+
golang.org/x/term v0.25.0 // indirect
69+
golang.org/x/text v0.19.0 // indirect
70+
google.golang.org/protobuf v1.34.2 // indirect
7071
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
7172
gopkg.in/inf.v0 v0.9.1 // indirect
7273
gopkg.in/yaml.v2 v2.4.0 // indirect
73-
k8s.io/kube-openapi v0.0.0-20240411171206-dc4e619f62f3 // indirect
74+
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 // indirect
7475
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
75-
sigs.k8s.io/kustomize/api v0.17.1 // indirect
76-
sigs.k8s.io/kustomize/kyaml v0.17.0 // indirect
76+
sigs.k8s.io/kustomize/api v0.17.3 // indirect
77+
sigs.k8s.io/kustomize/kyaml v0.17.2 // indirect
7778
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
7879
sigs.k8s.io/yaml v1.4.0 // indirect
7980
)

0 commit comments

Comments
 (0)