Skip to content

Commit 3ad72d9

Browse files
committed
Update dependencies to Go 1.22 and Kubernetes 1.29.3
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 6ad47ef commit 3ad72d9

File tree

52 files changed

+970
-753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+970
-753
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2020
with:
21-
go-version: 1.20.x
21+
go-version: 1.22.x
2222
# https://github.com/actions/setup-go/blob/main/docs/adrs/0000-caching-dependencies.md#example-of-real-use-cases
2323
cache-dependency-path: |
2424
**/go.sum

.github/workflows/cifuzz.yaml

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@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
1818
with:
19-
go-version: 1.20.x
19+
go-version: 1.22.x
2020
# https://github.com/actions/setup-go/blob/main/docs/adrs/0000-caching-dependencies.md#example-of-real-use-cases
2121
cache-dependency-path: |
2222
**/go.sum

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: ${{ steps.filter.outputs.git == 'true' || steps.filter.outputs.e2e == 'true' || github.event_name == 'workflow_dispatch' }}
4444
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
4545
with:
46-
go-version: 1.20.x
46+
go-version: 1.22.x
4747
# https://github.com/actions/setup-go/blob/main/docs/adrs/0000-caching-dependencies.md#example-of-real-use-cases
4848
cache-dependency-path: |
4949
**/go.sum

.github/workflows/integration-azure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Go
2828
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2929
with:
30-
go-version: 1.20.x
30+
go-version: 1.22.x
3131
cache-dependency-path: oci/tests/integration/go.sum
3232
- name: Authenticate to Azure
3333
uses: Azure/login@8c334a195cbb38e46038007b304988d888bf676a # v1.4.6

.github/workflows/integration-cleanup.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2626
with:
27-
go-version: 1.20.x
27+
go-version: 1.22.x
2828
cache-dependency-path: ./tools/reaper/go.sum
2929
- name: Setup bin dir
3030
run: mkdir -p ~/.local/bin
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Go
7272
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
7373
with:
74-
go-version: 1.20.x
74+
go-version: 1.22.x
7575
cache-dependency-path: ./tools/reaper/go.sum
7676
- name: Authenticate to Azure
7777
uses: Azure/login@8c334a195cbb38e46038007b304988d888bf676a # v1.4.6

.github/workflows/integration-gcp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Go
2828
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2929
with:
30-
go-version: 1.20.x
30+
go-version: 1.22.x
3131
cache-dependency-path: oci/tests/integration/go.sum
3232
- name: Authenticate to Google Cloud
3333
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2

.github/workflows/scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2525
with:
26-
go-version: 1.20.x
26+
go-version: 1.22.x
2727
cache-dependency-path: |
2828
**/go.sum
2929
**/go.mod

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ PKG?=$*
1313
GO_TEST_ARGS ?= -race
1414

1515
# API generation utilities
16-
CONTROLLER_GEN_VERSION ?= v0.11.1
16+
CONTROLLER_GEN_VERSION ?= v0.14.0
1717

1818
# Architecture to use envtest with
1919
ENVTEST_ARCH ?= amd64
2020

2121
# Kubernetes versions to use envtest with
22-
ENVTEST_KUBERNETES_VERSION?=1.26
22+
ENVTEST_KUBERNETES_VERSION?=1.28
2323

2424
all: tidy generate fmt vet
2525

2626
tidy:
2727
$(MAKE) $(addprefix tidy-, $(MODULES))
2828

2929
tidy-%:
30-
cd $(subst :,/,$*); go mod tidy -compat=1.20
30+
cd $(subst :,/,$*); go mod tidy -compat=1.22
3131

3232
fmt:
3333
$(MAKE) $(addprefix fmt-, $(MODULES))

apis/acl/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/fluxcd/pkg/apis/acl
22

3-
go 1.20
3+
go 1.22

apis/acl/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)