Skip to content

Commit 079f768

Browse files
Merge pull request #170 from digitalocean/dkomsa/update-for-k8s-1.31
update for k8s 1.31
2 parents 7fd1cff + d732489 commit 079f768

File tree

1,526 files changed

+57472
-39122
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,526 files changed

+57472
-39122
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ version: 2
22
jobs:
33
license:
44
docker:
5-
- image: golang:1.22
5+
- image: golang:1.23
66
steps:
77
- checkout
88
- run: ./script/check-licenses.sh
99
vet:
1010
docker:
11-
- image: golang:1.22
11+
- image: golang:1.23
1212
steps:
1313
- checkout
1414
- run: go vet ./...
1515
test:
1616
docker:
17-
- image: golang:1.22
17+
- image: golang:1.23
1818
steps:
1919
- checkout
2020
- run: go test -race -cover ./...
2121
smoke-test:
2222
docker:
23-
- image: golang:1.22
23+
- image: golang:1.23
2424
steps:
2525
- checkout
2626
- run: go run ./cmd/clusterlint --help

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Install go
18-
uses: actions/setup-go@0caeaed6fd66a828038c2da3c0f662a42862658f
18+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
1919
with:
20-
go-version: ^1.22
20+
go-version: ^1.23
2121
- name: Check out code into the Go module directory
22-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
22+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
- name: Login to dockerhub to push the image
2424
run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin
2525
env:
@@ -29,7 +29,7 @@ jobs:
2929
env:
3030
TAG: ${{ github.event.inputs.tag }}
3131
- name: Create Release
32-
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
32+
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
3333
with:
3434
# uses the HEAD on the default branch when creating the tag
3535
tag_name: ${{ github.event.inputs.tag }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the clusterlint binary
2-
FROM golang:1.22 as builder
2+
FROM golang:1.23 as builder
33
WORKDIR /workspace
44
# Copy the Go Modules manifests
55
COPY go.mod go.mod

go.mod

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
module github.com/digitalocean/clusterlint
22

3-
go 1.22.0
4-
5-
toolchain go1.22.2
3+
go 1.23.1
64

75
require (
86
github.com/docker/distribution v2.8.3+incompatible
9-
github.com/fatih/color v1.16.0
7+
github.com/fatih/color v1.17.0
108
github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0
119
github.com/stretchr/testify v1.9.0
1210
github.com/urfave/cli v1.22.15
13-
golang.org/x/sync v0.7.0
14-
k8s.io/api v0.30.0
15-
k8s.io/apimachinery v0.30.0
16-
k8s.io/client-go v0.30.0
11+
golang.org/x/sync v0.8.0
12+
k8s.io/api v0.31.0
13+
k8s.io/apimachinery v0.31.0
14+
k8s.io/client-go v0.31.0
1715
)
1816

1917
require (
2018
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
21-
github.com/davecgh/go-spew v1.1.1 // indirect
19+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2220
github.com/distribution/reference v0.6.0 // indirect
23-
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
24-
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
25-
github.com/go-logr/logr v1.4.1 // indirect
21+
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
22+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
23+
github.com/go-logr/logr v1.4.2 // indirect
2624
github.com/go-openapi/jsonpointer v0.21.0 // indirect
2725
github.com/go-openapi/jsonreference v0.21.0 // indirect
2826
github.com/go-openapi/swag v0.23.0 // indirect
2927
github.com/gogo/protobuf v1.3.2 // indirect
3028
github.com/golang/protobuf v1.5.4 // indirect
3129
github.com/google/gnostic-models v0.6.8 // indirect
30+
github.com/google/go-cmp v0.6.0 // indirect
3231
github.com/google/gofuzz v1.2.0 // indirect
3332
github.com/google/uuid v1.6.0 // indirect
3433
github.com/imdario/mergo v0.3.16 // indirect
@@ -42,22 +41,24 @@ require (
4241
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4342
github.com/opencontainers/go-digest v1.0.0 // indirect
4443
github.com/pkg/errors v0.9.1 // indirect
45-
github.com/pmezard/go-difflib v1.0.0 // indirect
44+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
4645
github.com/russross/blackfriday/v2 v2.1.0 // indirect
4746
github.com/spf13/pflag v1.0.5 // indirect
48-
golang.org/x/net v0.25.0 // indirect
49-
golang.org/x/oauth2 v0.20.0 // indirect
50-
golang.org/x/sys v0.20.0 // indirect
51-
golang.org/x/term v0.20.0 // indirect
52-
golang.org/x/text v0.15.0 // indirect
53-
golang.org/x/time v0.5.0 // indirect
54-
google.golang.org/protobuf v1.34.1 // indirect
47+
github.com/x448/float16 v0.8.4 // indirect
48+
golang.org/x/net v0.29.0 // indirect
49+
golang.org/x/oauth2 v0.23.0 // indirect
50+
golang.org/x/sys v0.25.0 // indirect
51+
golang.org/x/term v0.24.0 // indirect
52+
golang.org/x/text v0.18.0 // indirect
53+
golang.org/x/time v0.6.0 // indirect
54+
google.golang.org/protobuf v1.34.2 // indirect
55+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
5556
gopkg.in/inf.v0 v0.9.1 // indirect
5657
gopkg.in/yaml.v2 v2.4.0 // indirect
5758
gopkg.in/yaml.v3 v3.0.1 // indirect
58-
k8s.io/klog/v2 v2.120.1 // indirect
59-
k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f // indirect
60-
k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 // indirect
59+
k8s.io/klog/v2 v2.130.1 // indirect
60+
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 // indirect
61+
k8s.io/utils v0.0.0-20240902221715-702e33fdd3c3 // indirect
6162
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
6263
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
6364
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)