Skip to content

Commit 60dcf6e

Browse files
committed
deploy: update images, add Kubernetes 1.20
Kubernetes 1.17 is no longer supported and by updating to 1.18 as minimal version we can use the GA CSIDriver v1 API. Also, all sidecar and driver images get updated. The CSI hostpath image update is important because the recently added health check sidecar depends on the new version. Kubernetes 1.20 is where officially the v1 snapshotter API is introduced. Therefore the new deployment for it also uses the external-snapshotter 4.x and the v1 APIs.
1 parent 62d2cd0 commit 60dcf6e

25 files changed

+472
-11
lines changed

deploy/kubernetes-1.17/README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

deploy/kubernetes-1.18

Lines changed: 0 additions & 1 deletion
This file was deleted.

deploy/kubernetes-1.18/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The deployment for Kubernetes 1.18 uses CSIDriver v1 and
2+
thus is incompatible with Kubernetes < 1.18.

deploy/kubernetes-1.17/hostpath/csi-hostpath-attacher.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-attacher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
serviceAccountName: csi-attacher
2727
containers:
2828
- name: csi-attacher
29-
image: k8s.gcr.io/sig-storage/csi-attacher:v3.0.0
29+
image: k8s.gcr.io/sig-storage/csi-attacher:v3.1.0
3030
args:
3131
- --v=5
3232
- --csi-address=/csi/csi.sock

deploy/kubernetes-1.17/hostpath/csi-hostpath-driverinfo.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-driverinfo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: storage.k8s.io/v1beta1
1+
apiVersion: storage.k8s.io/v1
22
kind: CSIDriver
33
metadata:
44
name: hostpath.csi.k8s.io

deploy/kubernetes-1.17/hostpath/csi-hostpath-plugin.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-plugin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ spec:
9191
name: csi-data-dir
9292

9393
- name: hostpath
94-
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.4.0
94+
image: k8s.gcr.io/sig-storage/hostpathplugin:v1.5.0
9595
args:
9696
- "--drivername=hostpath.csi.k8s.io"
9797
- "--v=5"
@@ -136,7 +136,7 @@ spec:
136136
volumeMounts:
137137
- mountPath: /csi
138138
name: socket-dir
139-
image: k8s.gcr.io/sig-storage/livenessprobe:v2.1.0
139+
image: k8s.gcr.io/sig-storage/livenessprobe:v2.2.0
140140
args:
141141
- --csi-address=/csi/csi.sock
142142
- --health-port=9898

deploy/kubernetes-1.17/hostpath/csi-hostpath-provisioner.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-provisioner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
serviceAccountName: csi-provisioner
2727
containers:
2828
- name: csi-provisioner
29-
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.2
29+
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0
3030
args:
3131
- -v=5
3232
- --csi-address=/csi/csi.sock

deploy/kubernetes-1.17/hostpath/csi-hostpath-resizer.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-resizer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
serviceAccountName: csi-resizer
2727
containers:
2828
- name: csi-resizer
29-
image: k8s.gcr.io/sig-storage/csi-resizer:v1.0.0
29+
image: k8s.gcr.io/sig-storage/csi-resizer:v1.1.0
3030
args:
3131
- -v=5
3232
- -csi-address=/csi/csi.sock

deploy/kubernetes-1.17/hostpath/csi-hostpath-snapshotter.yaml renamed to deploy/kubernetes-1.18/hostpath/csi-hostpath-snapshotter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
serviceAccount: csi-snapshotter
2727
containers:
2828
- name: csi-snapshotter
29-
image: k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.0
29+
image: k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3
3030
args:
3131
- -v=5
3232
- --csi-address=/csi/csi.sock

0 commit comments

Comments
 (0)