From c83b6cc77a7f890a40095cdfd762e001badd602c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julian=20T=C3=B6lle?= <julian.toelle@hetzner-cloud.de>
Date: Mon, 14 Nov 2022 10:10:53 +0100
Subject: [PATCH] feat: test against Kubernetes v1.25 (#321)

---
 .github/workflows/test_e2e.yml |  2 +-
 .gitlab-ci.yml                 | 11 ++++++++---
 README.md                      |  1 +
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml
index 787e14c..1ff02e6 100644
--- a/.github/workflows/test_e2e.yml
+++ b/.github/workflows/test_e2e.yml
@@ -6,7 +6,7 @@ jobs:
     runs-on: self-hosted
     strategy:
       matrix:
-        k8s: [ k8s-1.22.0, k8s-1.23.8, k8s-1.24.2 ]
+        k8s: [ k8s-1.22.15, k8s-1.23.13, k8s-1.24.7, k8s-1.25.3 ]
     name: k8s ${{ matrix.k8s }}
     steps:
     - uses: actions/setup-go@v2
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69a61cc..4c3d8b2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,14 +37,19 @@ unit:
 k8s 1.22:
   <<: *k8se2e
   variables:
-    K8S_VERSION: k8s-1.22.0
+    K8S_VERSION: k8s-1.22.15
 
 k8s 1.23:
   <<: *k8se2e
   variables:
-    K8S_VERSION: k8s-1.23.8
+    K8S_VERSION: k8s-1.23.13
 
 k8s 1.24:
   <<: *k8se2e
   variables:
-    K8S_VERSION: k8s-1.24.2
\ No newline at end of file
+    K8S_VERSION: k8s-1.24.7
+
+k8s 1.25:
+  <<: *k8se2e
+  variables:
+    K8S_VERSION: k8s-1.25.3
\ No newline at end of file
diff --git a/README.md b/README.md
index 619c7c3..0448650 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,7 @@ related only to an unsupported version.
 
 | Kubernetes |    CSI Driver |                                                                                   Deployment File |
 |------------|--------------:|--------------------------------------------------------------------------------------------------:|
+| 1.25       |        main   | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.6.0/deploy/kubernetes/hcloud-csi.yml |
 | 1.24       |        main   | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.6.0/deploy/kubernetes/hcloud-csi.yml |
 | 1.23       |        main   | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.6.0/deploy/kubernetes/hcloud-csi.yml |
 | 1.22       | 1.6.0, main   | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.6.0/deploy/kubernetes/hcloud-csi.yml |
-- 
GitLab