Skip to content

Commit 5568ea2

Browse files
authored
chore(deps): Bump Go 1.25, k8s v1.35, and controller-runtime v0.23.1 (#3127)
* chore(deps): Bump Go 1.25, k8s to v1.35, and controller-runtime v0.23.1 Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> * Migrate to new events API with EventRecorder Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> * Fix RBAC for events Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> * Bump k8s version in tests Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> * Add type compliance check Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> * Use Reconciling action for event Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> --------- Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
1 parent 0ee1700 commit 5568ea2

File tree

76 files changed

+2549
-1568
lines changed

Some content is hidden

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

76 files changed

+2549
-1568
lines changed

.github/workflows/test-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
# Kubernetes versions for e2e tests on Kind cluster.
20-
kubernetes-version: ["1.31.0", "1.32.3", "1.33.1", "1.34.0"]
20+
kubernetes-version: ["1.32.3", "1.33.1", "1.34.0", "1.35.0"]
2121

2222
steps:
2323
- name: Check out code

.golangci-kal.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
version: "2"
22
run:
3-
go: "1.24"
43
allow-parallel-runners: true
54
linters:
65
default: none
@@ -47,7 +46,11 @@ linters:
4746
- name: "default_vs_required"
4847
sets:
4948
- ["default", "kubebuilder:default"]
50-
- ["required", "kubebuilder:validation:Required", "k8s:required"]
49+
- [
50+
"required",
51+
"kubebuilder:validation:Required",
52+
"k8s:required",
53+
]
5154
description: "A field with a default value cannot be required"
5255
conditions:
5356
isFirstField: Warn # Require conditions to be the first field in the status struct.

.golangci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
version: "2"
55

66
run:
7-
go: "1.24"
87
allow-parallel-runners: true
98

109
issues:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ For the Kubeflow Trainer documentation, please check [the official Kubeflow docu
55

66
## Requirements
77

8-
- [Go](https://golang.org/) (1.24 or later)
8+
- [Go](https://golang.org/) (1.25 or later)
99
- [Docker](https://docs.docker.com/) (23 or later)
1010
- [Lima](https://github.com/lima-vm/lima?tab=readme-ov-file#adopters) (an alternative to DockerDesktop) (0.21.0 or later)
1111
- [Colima](https://github.com/abiosoft/colima) (Lima specifically for MacOS) (0.6.8 or later)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TRAINER_CHART_DIR := $(PROJECT_DIR)/charts/kubeflow-trainer
1818
LOCALBIN ?= $(PROJECT_DIR)/bin
1919

2020
# Tool versions
21-
K8S_VERSION ?= 1.34.0
21+
K8S_VERSION ?= 1.35.0
2222
GINKGO_VERSION ?= $(shell go list -m -f '{{.Version}}' github.com/onsi/ginkgo/v2)
2323
ENVTEST_VERSION ?= release-0.22
2424
CONTROLLER_GEN_VERSION ?= v0.18.0

api/openapi-spec/swagger.json

Lines changed: 98 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/python_api/kubeflow_trainer_api/models/__init__.py

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

api/python_api/kubeflow_trainer_api/models/io_k8s_api_autoscaling_v2_hpa_scaling_rules.py

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

api/python_api/kubeflow_trainer_api/models/io_k8s_api_batch_v1_job_spec.py

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

api/python_api/kubeflow_trainer_api/models/io_k8s_api_batch_v1_pod_failure_policy_on_pod_conditions_pattern.py

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

0 commit comments

Comments
 (0)