Update for kubernetes 1.20 support

This ensures we bump the code for 1.20.
It updates the testing to ensure kured works on a 1.20 cluster,
removes the testing on 1.17 (as it is now deprecated).
Libraries remain on 1.19, to avoid breaking 1.18 clusters.
This commit is contained in:
Jean-Philippe Evrard
2020-12-09 14:54:35 +01:00
parent e878e0e5b3
commit c68937b5ff
5 changed files with 18 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: "kindest/node:v1.20.0"
- role: control-plane
image: "kindest/node:v1.20.0"
- role: control-plane
image: "kindest/node:v1.20.0"
- role: worker
image: "kindest/node:v1.20.0"
- role: worker
image: "kindest/node:v1.20.0"
+2 -2
View File
@@ -78,8 +78,8 @@ jobs:
strategy:
matrix:
kubernetes:
- 1.17
- 1.19
- "1.18"
- "1.20"
steps:
- uses: actions/checkout@v2
- name: Find go version
+1 -1
View File
@@ -59,9 +59,9 @@ jobs:
strategy:
matrix:
kubernetes:
- 1.17
- 1.18
- 1.19
- 1.20
steps:
- uses: actions/checkout@v2
- name: Find go version
+1 -1
View File
@@ -45,7 +45,7 @@ server:
| kured | kubectl | k8s.io/client-go | k8s.io/apimachinery | expected kubernetes compatibility |
|--------|---------|------------------|---------------------|-----------------------------------|
| master | 1.19.4 | v0.19.4 | v0.19.4 | 1.17.x, 1.18.x, 1.19.x |
| master | 1.19.4 | v0.19.4 | v0.19.4 | 1.18.x, 1.19.x, 1.20.x |
| 1.5.1 | 1.18.8 | v0.18.8 | v0.18.8 | 1.17.x, 1.18.x, 1.19.x |
| 1.4.4 | 1.17.7 | v0.17.0 | v0.17.0 | 1.16.x, 1.17.x, 1.18.x |
| 1.3.0 | 1.15.10 | v12.0.0 | release-1.15 | 1.15.x, 1.16.x, 1.17.x |
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.5.1"
description: A Helm chart for kured
name: kured
version: 2.2.2
version: 2.2.3
home: https://github.com/weaveworks/kured
maintainers:
- name: ckotzbauer