Skip to content

Commit 43372fa

Browse files
authored
Merge pull request #177 from jabdoa2/update_kubebuilder
Update kubebuilder
2 parents 7b2f07f + 3ec0788 commit 43372fa

File tree

11 files changed

+167
-207
lines changed

11 files changed

+167
-207
lines changed

.github/workflows/e2e-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
matrix:
1010
version:
1111
- v1.21
12-
- v1.30
12+
- v1.31
1313
setup:
1414
- minimal
1515
- production

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22'
22+
go-version: '1.23'
2323
cache: false
2424
- name: golangci-lint
2525
uses: golangci/golangci-lint-action@v4
2626
with:
2727
# Require: The version of golangci-lint to use.
2828
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2929
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
30-
version: v1.57.2
30+
version: v1.61.0
3131

3232
# Optional: working directory, useful for monorepos
3333
# working-directory: somedir

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v4
1818
with:
19-
go-version: '1.22'
19+
go-version: '1.23'
2020
cache-dependency-path: |
2121
go.sum
2222
go.sum

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.22 as builder
2+
FROM golang:1.23 as builder
33

44
ARG VERSION=undefined
55

@@ -19,7 +19,7 @@ COPY . .
1919
RUN CGO_ENABLED=0 GOOS=linux go build -a -o wave -ldflags="-X main.VERSION=${VERSION}" ./cmd/manager
2020

2121
# Copy the controller-manager into a thin image
22-
FROM alpine:3.11
22+
FROM alpine:3.20
2323
RUN apk --no-cache add ca-certificates
2424
WORKDIR /bin
2525
COPY --from=builder /go/src/github.com/wave-k8s/wave/wave .

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ GOBIN ?= $(shell $(GO) env GOPATH)/bin
33
BINARY := wave
44
VERSION := $(shell git describe --always --dirty --tags 2>/dev/null || echo "undefined")
55
ECHO := echo
6-
CONTROLLER_TOOLS_VERSION ?= v0.14.0
7-
ENVTEST_K8S_VERSION ?= 1.29.0
8-
GOLANGCI_LINT_VERSION ?= v1.57.2
6+
CONTROLLER_TOOLS_VERSION ?= v0.15.0
7+
ENVTEST_K8S_VERSION ?= 1.30.0
8+
GOLANGCI_LINT_VERSION ?= v1.61.0
99

1010
## Location to install dependencies to
1111
LOCALBIN ?= $(shell pwd)/bin

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ You can find supported versions in the following table:
5353
| Wave Version | API Client | Maximum Supported Kubernetes Versions | E2E Tested Versions |
5454
|--------------|------------|---------------------------------------|---------------------|
5555
| 0.5 | 1.14 | 1.15 | |
56-
| 0.6+ | 1.29 | 1.30 | 1.21, 1.30 |
56+
| 0.6 - 0.9 | 1.29 | 1.30 | 1.21, 1.30 |
57+
| 0.10+ | 1.31 | 1.31 | 1.21, 1.31 |
5758
| | | | |
5859

5960

go.mod

Lines changed: 45 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,77 @@
11
module github.com/wave-k8s/wave
22

3-
go 1.22.1
3+
go 1.23.0
44

55
require (
6-
github.com/onsi/ginkgo/v2 v2.15.0
7-
github.com/onsi/gomega v1.32.0
8-
github.com/prometheus/client_golang v1.19.0
9-
k8s.io/api v0.29.0
10-
k8s.io/apimachinery v0.29.0
11-
k8s.io/client-go v0.29.0
12-
k8s.io/code-generator v0.29.0
13-
sigs.k8s.io/controller-runtime v0.17.2
6+
github.com/onsi/ginkgo/v2 v2.20.2
7+
github.com/onsi/gomega v1.34.2
8+
github.com/prometheus/client_golang v1.20.5
9+
k8s.io/api v0.31.1
10+
k8s.io/apimachinery v0.31.1
11+
k8s.io/client-go v0.31.1
12+
k8s.io/code-generator v0.31.1
13+
sigs.k8s.io/controller-runtime v0.19.0
1414
)
1515

1616
require (
1717
github.com/beorn7/perks v1.0.1 // indirect
18-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
19-
github.com/davecgh/go-spew v1.1.1 // indirect
20-
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
21-
github.com/evanphx/json-patch/v5 v5.8.0 // indirect
18+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
19+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
20+
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
21+
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
2222
github.com/fsnotify/fsnotify v1.7.0 // indirect
23-
github.com/go-logr/logr v1.4.1 // indirect
23+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
24+
github.com/go-logr/logr v1.4.2 // indirect
2425
github.com/go-logr/zapr v1.3.0 // indirect
25-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
26-
github.com/go-openapi/jsonreference v0.20.2 // indirect
27-
github.com/go-openapi/swag v0.22.3 // indirect
28-
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
26+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
27+
github.com/go-openapi/jsonreference v0.21.0 // indirect
28+
github.com/go-openapi/swag v0.23.0 // indirect
29+
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
2930
github.com/gogo/protobuf v1.3.2 // indirect
3031
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
3132
github.com/golang/protobuf v1.5.4 // indirect
3233
github.com/google/gnostic-models v0.6.8 // indirect
3334
github.com/google/go-cmp v0.6.0 // indirect
3435
github.com/google/gofuzz v1.2.0 // indirect
35-
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
36-
github.com/google/uuid v1.3.0 // indirect
37-
github.com/imdario/mergo v0.3.6 // indirect
36+
github.com/google/pprof v0.0.0-20241009165004-a3522334989c // indirect
37+
github.com/google/uuid v1.6.0 // indirect
38+
github.com/imdario/mergo v0.3.16 // indirect
3839
github.com/josharian/intern v1.0.0 // indirect
3940
github.com/json-iterator/go v1.1.12 // indirect
41+
github.com/klauspost/compress v1.17.11 // indirect
4042
github.com/mailru/easyjson v0.7.7 // indirect
4143
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4244
github.com/modern-go/reflect2 v1.0.2 // indirect
4345
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4446
github.com/pkg/errors v0.9.1 // indirect
45-
github.com/prometheus/client_model v0.5.0 // indirect
46-
github.com/prometheus/common v0.48.0 // indirect
47-
github.com/prometheus/procfs v0.12.0 // indirect
47+
github.com/prometheus/client_model v0.6.1 // indirect
48+
github.com/prometheus/common v0.60.0 // indirect
49+
github.com/prometheus/procfs v0.15.1 // indirect
4850
github.com/spf13/pflag v1.0.5 // indirect
51+
github.com/x448/float16 v0.8.4 // indirect
4952
go.uber.org/multierr v1.11.0 // indirect
50-
go.uber.org/zap v1.26.0 // indirect
51-
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
52-
golang.org/x/mod v0.14.0 // indirect
53-
golang.org/x/net v0.20.0 // indirect
54-
golang.org/x/oauth2 v0.16.0 // indirect
55-
golang.org/x/sys v0.16.0 // indirect
56-
golang.org/x/term v0.16.0 // indirect
57-
golang.org/x/text v0.14.0 // indirect
58-
golang.org/x/time v0.3.0 // indirect
59-
golang.org/x/tools v0.16.1 // indirect
53+
go.uber.org/zap v1.27.0 // indirect
54+
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
55+
golang.org/x/mod v0.21.0 // indirect
56+
golang.org/x/net v0.30.0 // indirect
57+
golang.org/x/oauth2 v0.23.0 // indirect
58+
golang.org/x/sync v0.8.0 // indirect
59+
golang.org/x/sys v0.26.0 // indirect
60+
golang.org/x/term v0.25.0 // indirect
61+
golang.org/x/text v0.19.0 // indirect
62+
golang.org/x/time v0.7.0 // indirect
63+
golang.org/x/tools v0.26.0 // indirect
6064
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
61-
google.golang.org/appengine v1.6.7 // indirect
62-
google.golang.org/protobuf v1.33.0 // indirect
65+
google.golang.org/protobuf v1.35.1 // indirect
6366
gopkg.in/inf.v0 v0.9.1 // indirect
6467
gopkg.in/yaml.v2 v2.4.0 // indirect
6568
gopkg.in/yaml.v3 v3.0.1 // indirect
66-
k8s.io/apiextensions-apiserver v0.29.0 // indirect
67-
k8s.io/component-base v0.29.0 // indirect
68-
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect
69-
k8s.io/klog/v2 v2.110.1 // indirect
70-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
71-
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
72-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
69+
k8s.io/apiextensions-apiserver v0.31.1 // indirect
70+
k8s.io/gengo/v2 v2.0.0-20240826214909-a7b603a56eb7 // indirect
71+
k8s.io/klog/v2 v2.130.1 // indirect
72+
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect
73+
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
74+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
7375
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
7476
sigs.k8s.io/yaml v1.4.0 // indirect
7577
)

0 commit comments

Comments
 (0)