Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: drop tests for kubernetes v1.25 #559

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/test_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
fail-fast: false
matrix:
include:
- k3s: v1.25
k8s-test: v1.25.13
- k3s: v1.26
k8s-test: v1.26.8
k8s-test: v1.26.12
- k3s: v1.27
k8s-test: v1.27.5
k8s-test: v1.27.9
- k3s: v1.28
k8s-test: v1.28.1
k8s-test: v1.28.5
steps:
- uses: actions/setup-go@v5
with:
Expand Down
8 changes: 4 additions & 4 deletions docs/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ related only to an unsupported version.

| Kubernetes | CSI Driver | Deployment File |
|------------|-----------:|--------------------------------------------------------------------------------------------------:|
| 1.28 | 2.5.1+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml |
| 1.27 | 2.5.1+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml |
| 1.26 | 2.5.1+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml |
| 1.25 | 2.5.1+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml |
| 1.28 | 2.6.0+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.6.0/deploy/kubernetes/hcloud-csi.yml |
| 1.27 | 2.6.0+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.6.0/deploy/kubernetes/hcloud-csi.yml |
| 1.26 | 2.6.0+ | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.6.0/deploy/kubernetes/hcloud-csi.yml |
| 1.25 | 2.6.0 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.6.0/deploy/kubernetes/hcloud-csi.yml |
| 1.24 | 2.4.0 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.4.0/deploy/kubernetes/hcloud-csi.yml |
| 1.23 | 2.2.0 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.2.0/deploy/kubernetes/hcloud-csi.yml |
| 1.22 | 1.6.0 | https://raw.githubusercontent.com/hetznercloud/csi-driver/v1.6.0/deploy/kubernetes/hcloud-csi.yml |
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/kubernetes/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ginkgo="${SCRIPT_DIR}/test-binaries/ginkgo"
ginkgo_flags="-v --flakeAttempts=2"

e2e="${SCRIPT_DIR}/test-binaries/e2e.test"
e2e_flags="-storage.testdriver=${SCRIPT_DIR}/testdriver-1.25.yaml"
e2e_flags="-storage.testdriver=${SCRIPT_DIR}/testdriver.yaml"

echo "Executing parallel tests"
${ginkgo} ${ginkgo_flags} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ DriverInfo:
Max: 15Gi
Min: 10Gi
Capabilities:
# We set all capabilities from the lowest supported version of Kubernetes.
#
# Available capabilities are defined in the kubernetes repositories, make
# sure to select the corresponding k8s version:
# https://github.com/kubernetes/kubernetes/blob/release-1.25/test/e2e/storage/framework/testdriver.go#L150
# https://github.com/kubernetes/kubernetes/blob/release-1.26/test/e2e/storage/framework/testdriver.go#L150
#
# To get a list of new capabilities when upgrading, run this command in the kubernetes repository:
# git diff origin/release-1.26 origin/release-1.27 -- test/e2e/storage/framework/testdriver.go
persistence: true
block: true
fsGroup: true
Expand All @@ -26,6 +31,8 @@ DriverInfo:
singleNodeVolume: true
topology: true
capacity: false
readWriteOncePod: false # https://github.com/hetznercloud/csi-driver/issues/327
multiplePVsSameID: true # No need to disable according to comment on CapMultiplePVsSameID
SupportedFsType:
ext4:
xfs:
Expand Down
Loading