Skip to content

Commit

Permalink
Bump up Kubernetes libs and Kubernetes cluster versions - 1.27..1.30 …
Browse files Browse the repository at this point in the history
…on Go 1.22
  • Loading branch information
iximiuz committed May 23, 2024
1 parent e5add16 commit 310076d
Show file tree
Hide file tree
Showing 30 changed files with 230 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.22.0"
go-version: "1.22.3"
- name: Create test Kubernetes cluster (using kind)
uses: helm/kind-action@v1.5.0
with:
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
outputs:
dirs: ${{ steps.make-list.outputs.dirs }}

client_go_0_26:
client_go_0_27:
needs: prepare
strategy:
fail-fast: false
Expand All @@ -31,17 +31,17 @@ jobs:
matrix:
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
k8s_cluster_ver:
- "1.26.14"
- "1.27.11"
- "1.28.7"
- "1.29.2"
- "1.27.13"
- "1.28.9"
- "1.29.4"
- "1.30.0"
uses: ./.github/workflows/test-one.yml
with:
example_program: ${{ matrix.example_program }}
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
k8s_package_ver: "0.26.13"
k8s_package_ver: "0.27.14"

client_go_0_27:
client_go_0_28:
needs: prepare
strategy:
fail-fast: false
Expand All @@ -50,17 +50,17 @@ jobs:
matrix:
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
k8s_cluster_ver:
- "1.26.14"
- "1.27.11"
- "1.28.7"
- "1.29.2"
- "1.27.13"
- "1.28.9"
- "1.29.4"
- "1.30.0"
uses: ./.github/workflows/test-one.yml
with:
example_program: ${{ matrix.example_program }}
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
k8s_package_ver: "0.27.10"
k8s_package_ver: "0.28.10"

client_go_0_28:
client_go_0_29:
needs: prepare
strategy:
fail-fast: false
Expand All @@ -69,17 +69,17 @@ jobs:
matrix:
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
k8s_cluster_ver:
- "1.26.14"
- "1.27.11"
- "1.28.7"
- "1.29.2"
- "1.27.13"
- "1.28.9"
- "1.29.4"
- "1.30.0"
uses: ./.github/workflows/test-one.yml
with:
example_program: ${{ matrix.example_program }}
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
k8s_package_ver: "0.28.6"
k8s_package_ver: "0.29.5"

client_go_0_29:
client_go_0_30:
needs: prepare
strategy:
fail-fast: false
Expand All @@ -88,12 +88,12 @@ jobs:
matrix:
example_program: ${{ fromJson(needs.prepare.outputs.dirs) }}
k8s_cluster_ver:
- "1.26.14"
- "1.27.11"
- "1.28.7"
- "1.29.2"
- "1.27.13"
- "1.28.9"
- "1.29.4"
- "1.30.0"
uses: ./.github/workflows/test-one.yml
with:
example_program: ${{ matrix.example_program }}
k8s_cluster_ver: ${{ matrix.k8s_cluster_ver }}
k8s_package_ver: "0.29.1"
k8s_package_ver: "0.30.1"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ The intention is to test a (more or less) fresh version of Go and `k8s.io` packa

What is tested at the moment:

- `go 1.22.0`
- `k8s.io/client-go 0.26.13 0.27.10 0.28.6 0.29.1` (maintained release branches)
- `Kubernetes 1.26.14 1.27.11 1.28.7 1.29.2` (best-effort match with versions supported by `kind`)
- `go 1.22.3`
- `k8s.io/client-go 0.27.14 0.28.10 0.29.5 0.30.1` (maintained release branches)
- `Kubernetes 1.27.13 1.28.9 1.29.4 1.30.0` (best-effort match with versions supported by `kind`)

## Setup

Expand Down
4 changes: 2 additions & 2 deletions cli-runtime-flags/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/iximiuz/client-go-examples/cli-runtime-flags

go 1.22.0
go 1.22.3

require (
k8s.io/cli-runtime v0.28.3
k8s.io/cli-runtime v0.30.1
)
8 changes: 4 additions & 4 deletions cli-runtime-printers/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/iximiuz/client-go-examples/cli-runtime-printers

go 1.22.0
go 1.22.3

require (
k8s.io/api v0.28.3
k8s.io/cli-runtime v0.28.3
k8s.io/client-go v0.28.3
k8s.io/api v0.30.1
k8s.io/cli-runtime v0.30.1
k8s.io/client-go v0.30.1
)
6 changes: 3 additions & 3 deletions cli-runtime-resources-from-cluster/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/iximiuz/client-go-examples/cli-runtime-resources-from-cluster

go 1.22.0
go 1.22.3

require (
github.com/spf13/cobra v1.7.0
k8s.io/cli-runtime v0.28.3
k8s.io/client-go v0.28.3
k8s.io/cli-runtime v0.30.1
k8s.io/client-go v0.30.1
)
6 changes: 3 additions & 3 deletions cli-runtime-resources-from-file/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/iximiuz/client-go-examples/cli-runtime-resources-from-file

go 1.22.0
go 1.22.3

require (
github.com/spf13/cobra v1.7.0
k8s.io/cli-runtime v0.28.3
k8s.io/client-go v0.28.3
k8s.io/cli-runtime v0.30.1
k8s.io/client-go v0.30.1
)
6 changes: 3 additions & 3 deletions convert-unstructured-typed/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/iximiuz/client-go-examples/convert-unstructured-typed

go 1.22.0
go 1.22.3

require (
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/api v0.30.1
k8s.io/apimachinery v0.30.1
)
6 changes: 3 additions & 3 deletions crud-dynamic-simple/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/iximiuz/client-go-examples/crud-dynamic-simple

go 1.22.0
go 1.22.3

require (
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
)
8 changes: 4 additions & 4 deletions crud-typed-simple/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/iximiuz/client-go-examples/crud-typed-simple

go 1.22.0
go 1.22.3

require (
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
k8s.io/api v0.30.1
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
)
8 changes: 4 additions & 4 deletions error-handling/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/iximiuz/client-go-examples/error-handling

go 1.22.0
go 1.22.3

require (
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
k8s.io/api v0.30.1
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
)
4 changes: 2 additions & 2 deletions field-selectors/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/iximiuz/client-go-examples/field-selectors

go 1.22.0
go 1.22.3

require (
k8s.io/apimachinery v0.28.3
k8s.io/apimachinery v0.30.1
)
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.22.0
go 1.22.3

use (
./cli-runtime-flags
Expand Down
Loading

0 comments on commit 310076d

Please sign in to comment.