Skip to content

Commit 610e4f2

Browse files
authored
Merge pull request #20 from mvasilenko/main
Update client-go / k8s / Golang versions
2 parents 3c53a25 + 9072fde commit 610e4f2

File tree

28 files changed

+60
-60
lines changed

28 files changed

+60
-60
lines changed

.github/workflows/test-one.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: "1.22.3"
25+
go-version: "1.22.10"
2626
- name: Create test Kubernetes cluster (using kind)
2727
uses: helm/[email protected]
2828
with:

.github/workflows/test.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,6 @@ jobs:
2222
outputs:
2323
dirs: ${{ steps.make-list.outputs.dirs }}
2424

25-
client_go_0_27:
26-
needs: prepare
27-
strategy:
28-
fail-fast: false
29-
# A matrix can produce no more than 256 elements,
30-
# so testing too many k8s versions is unfeasible.
31-
matrix:
32-
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
33-
k8s_cluster_ver:
34-
- "1.27.13"
35-
- "1.28.9"
36-
- "1.29.4"
37-
- "1.30.0"
38-
uses: ./.github/workflows/test-one.yml
39-
with:
40-
example_program: ${{ matrix.example_program }}
41-
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
42-
k8s_package_ver: "0.27.14"
43-
4425
client_go_0_28:
4526
needs: prepare
4627
strategy:
@@ -50,15 +31,15 @@ jobs:
5031
matrix:
5132
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
5233
k8s_cluster_ver:
53-
- "1.27.13"
5434
- "1.28.9"
55-
- "1.29.4"
56-
- "1.30.0"
35+
- "1.29.12"
36+
- "1.30.8"
37+
- "1.31.4"
5738
uses: ./.github/workflows/test-one.yml
5839
with:
5940
example_program: ${{ matrix.example_program }}
6041
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
61-
k8s_package_ver: "0.28.10"
42+
k8s_package_ver: "0.28.14"
6243

6344
client_go_0_29:
6445
needs: prepare
@@ -69,15 +50,15 @@ jobs:
6950
matrix:
7051
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
7152
k8s_cluster_ver:
72-
- "1.27.13"
7353
- "1.28.9"
74-
- "1.29.4"
75-
- "1.30.0"
54+
- "1.29.12"
55+
- "1.30.8"
56+
- "1.31.4"
7657
uses: ./.github/workflows/test-one.yml
7758
with:
7859
example_program: ${{ matrix.example_program }}
7960
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
80-
k8s_package_ver: "0.29.5"
61+
k8s_package_ver: "0.29.12"
8162

8263
client_go_0_30:
8364
needs: prepare
@@ -88,12 +69,31 @@ jobs:
8869
matrix:
8970
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
9071
k8s_cluster_ver:
91-
- "1.27.13"
9272
- "1.28.9"
93-
- "1.29.4"
94-
- "1.30.0"
73+
- "1.29.12"
74+
- "1.30.8"
75+
- "1.31.4"
9576
uses: ./.github/workflows/test-one.yml
9677
with:
9778
example_program: ${{ matrix.example_program }}
9879
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
99-
k8s_package_ver: "0.30.1"
80+
k8s_package_ver: "0.30.8"
81+
82+
client_go_0_31:
83+
needs: prepare
84+
strategy:
85+
fail-fast: false
86+
# A matrix can produce no more than 256 elements,
87+
# so testing too many k8s versions is unfeasible.
88+
matrix:
89+
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
90+
k8s_cluster_ver:
91+
- "1.28.9"
92+
- "1.29.12"
93+
- "1.30.8"
94+
- "1.31.4"
95+
uses: ./.github/workflows/test-one.yml
96+
with:
97+
example_program: ${{ matrix.example_program }}
98+
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
99+
k8s_package_ver: "0.31.4"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ The intention is to test a (more or less) fresh version of Go and `k8s.io` packa
1010

1111
What is tested at the moment:
1212

13-
- `go 1.22.3`
14-
- `k8s.io/client-go 0.27.14 0.28.10 0.29.5 0.30.1` (maintained release branches)
15-
- `Kubernetes 1.27.13 1.28.9 1.29.4 1.30.0` (best-effort match with versions supported by `kind`)
13+
- `go 1.22.10`
14+
- `k8s.io/client-go 0.28.14 0.29.12 0.30.8 0.31.4` (maintained release branches)
15+
- `Kubernetes 1.28.9 1.29.12 1.30.8 1.31.4` (best-effort match with versions supported by `kind`)
1616

1717
## Setup
1818

cli-runtime-printers/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/cli-runtime-printers
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
k8s.io/api v0.30.1

cli-runtime-resources-from-cluster/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/cli-runtime-resources-from-cluster
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
github.com/spf13/cobra v1.7.0

cli-runtime-resources-from-file/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/cli-runtime-resources-from-file
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
github.com/spf13/cobra v1.7.0

convert-unstructured-typed/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/convert-unstructured-typed
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
k8s.io/api v0.30.1

crud-dynamic-simple/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/crud-dynamic-simple
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
k8s.io/apimachinery v0.30.1

crud-typed-simple/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/crud-typed-simple
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
k8s.io/api v0.30.1

error-handling/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/iximiuz/client-go-examples/error-handling
22

3-
go 1.22.3
3+
go 1.22.10
44

55
require (
66
k8s.io/api v0.30.1

0 commit comments

Comments
 (0)