Skip to content

Commit e54da7d

Browse files
authored
[Update] Bumping up the version for side cars to latest available versions (#265)
* update: bumping up the version for side cars to latest available versions * test-fix: make the luks mov consistent. Adding rollout status commad to wait for pods to finish rolling out to new node --------- Co-authored-by: Khaja Omer <komer@akamai.com>
1 parent db1d4b1 commit e54da7d

File tree

8 files changed

+24
-31
lines changed

8 files changed

+24
-31
lines changed

deploy/kubernetes/base/ds-csi-linode-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
hostNetwork: true
3636
containers:
3737
- name: csi-node-driver-registrar
38-
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v1.3.0
38+
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.12.0
3939
args:
4040
- "--v=2"
4141
- "--csi-address=$(ADDRESS)"

deploy/kubernetes/base/ss-csi-linode-controller.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
mountPath: /scripts
3737
containers:
3838
- name: csi-provisioner
39-
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
39+
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0
4040
imagePullPolicy: IfNotPresent
4141
args:
4242
- "--default-fstype=ext4"
@@ -51,7 +51,7 @@ spec:
5151
- name: socket-dir
5252
mountPath: /var/lib/csi/sockets/pluginproxy/
5353
- name: csi-attacher
54-
image: registry.k8s.io/sig-storage/csi-attacher:v3.3.0
54+
image: registry.k8s.io/sig-storage/csi-attacher:v4.7.0
5555
imagePullPolicy: IfNotPresent
5656
args:
5757
- "--v=2"
@@ -63,7 +63,7 @@ spec:
6363
- name: socket-dir
6464
mountPath: /var/lib/csi/sockets/pluginproxy/
6565
- name: csi-resizer
66-
image: registry.k8s.io/sig-storage/csi-resizer:v1.3.0
66+
image: registry.k8s.io/sig-storage/csi-resizer:v1.12.0
6767
imagePullPolicy: IfNotPresent
6868
args:
6969
- "--v=2"
@@ -74,7 +74,7 @@ spec:
7474
volumeMounts:
7575
- name: socket-dir
7676
mountPath: /var/lib/csi/sockets/pluginproxy/
77-
- name: linode-csi-plugin
77+
- name: csi-linode-plugin
7878
image: linode/linode-blockstorage-csi-driver:latest
7979
args:
8080
- "--v=2"

helm-chart/csi-driver/templates/csi-linode-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ spec:
7878
key: {{ if .Values.secretRef }}{{ .Values.secretRef.apiTokenRef | default "token" }}{{ else }}"token"{{ end }}
7979
image: {{ .Values.csiLinodePlugin.image }}:{{ .Values.csiLinodePlugin.tag | default .Chart.AppVersion }}
8080
imagePullPolicy: {{ .Values.csiLinodePlugin.pullPolicy }}
81-
name: linode-csi-plugin
81+
name: csi-linode-plugin
8282
volumeMounts:
8383
- mountPath: /linode-info
8484
name: linode-info

helm-chart/csi-driver/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ defaultStorageClass: linode-block-storage-retain
3131

3232
csiProvisioner:
3333
image: registry.k8s.io/sig-storage/csi-provisioner
34-
tag: v3.0.0
34+
tag: v5.1.0
3535
pullPolicy: IfNotPresent
3636

3737
csiAttacher:
3838
image: registry.k8s.io/sig-storage/csi-attacher
39-
tag: v3.3.0
39+
tag: v4.7.0
4040
pullPolicy: IfNotPresent
4141

4242
csiResizer:
4343
image: registry.k8s.io/sig-storage/csi-resizer
44-
tag: v1.3.0
44+
tag: v1.12.0
4545
pullPolicy: IfNotPresent
4646

4747
csiLinodePlugin:
@@ -56,4 +56,4 @@ kubectl:
5656

5757
csiNodeDriverRegistrar:
5858
image: registry.k8s.io/sig-storage/csi-node-driver-registrar
59-
tag: v1.3.0
59+
tag: v2.12.0

internal/driver/deploy/releases/linode-blockstorage-csi-driver.yaml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ spec:
317317
env:
318318
- name: ADDRESS
319319
value: /var/lib/csi/sockets/pluginproxy/csi.sock
320-
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
320+
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0
321321
imagePullPolicy: IfNotPresent
322322
name: csi-provisioner
323323
volumeMounts:
@@ -329,7 +329,7 @@ spec:
329329
env:
330330
- name: ADDRESS
331331
value: /var/lib/csi/sockets/pluginproxy/csi.sock
332-
image: registry.k8s.io/sig-storage/csi-attacher:v3.3.0
332+
image: registry.k8s.io/sig-storage/csi-attacher:v4.7.0
333333
imagePullPolicy: IfNotPresent
334334
name: csi-attacher
335335
volumeMounts:
@@ -341,23 +341,18 @@ spec:
341341
env:
342342
- name: ADDRESS
343343
value: /var/lib/csi/sockets/pluginproxy/csi.sock
344-
image: registry.k8s.io/sig-storage/csi-resizer:v1.3.0
344+
image: registry.k8s.io/sig-storage/csi-resizer:v1.12.0
345345
imagePullPolicy: IfNotPresent
346346
name: csi-resizer
347347
volumeMounts:
348348
- mountPath: /var/lib/csi/sockets/pluginproxy/
349349
name: socket-dir
350350
- args:
351-
- --endpoint=$(CSI_ENDPOINT)
352-
- --token=$(LINODE_TOKEN)
353-
- --url=$(LINODE_API_URL)
354-
- --node=$(NODE_NAME)
355-
- --bs-prefix=$(LINODE_BS_PREFIX)
356351
- --v=2
357352
env:
358353
- name: CSI_ENDPOINT
359354
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
360-
- name: LINODE_API_URL
355+
- name: LINODE_URL
361356
value: https://api.linode.com/v4
362357
- name: LINODE_BS_PREFIX
363358
- name: NODE_NAME
@@ -371,7 +366,7 @@ spec:
371366
key: token
372367
name: linode
373368
image: linode/linode-blockstorage-csi-driver:latest
374-
name: linode-csi-plugin
369+
name: csi-linode-plugin
375370
volumeMounts:
376371
- mountPath: /linode-info
377372
name: linode-info
@@ -444,23 +439,19 @@ spec:
444439
valueFrom:
445440
fieldRef:
446441
fieldPath: spec.nodeName
447-
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v1.3.0
442+
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.12.0
448443
name: csi-node-driver-registrar
449444
volumeMounts:
450445
- mountPath: /csi
451446
name: plugin-dir
452447
- mountPath: /registration
453448
name: registration-dir
454449
- args:
455-
- --endpoint=$(CSI_ENDPOINT)
456-
- --token=$(LINODE_TOKEN)
457-
- --url=$(LINODE_API_URL)
458-
- --node=$(NODE_NAME)
459450
- --v=2
460451
env:
461452
- name: CSI_ENDPOINT
462453
value: unix:///csi/csi.sock
463-
- name: LINODE_API_URL
454+
- name: LINODE_URL
464455
value: https://api.linode.com/v4
465456
- name: NODE_NAME
466457
valueFrom:
@@ -566,7 +557,7 @@ spec:
566557
type: Directory
567558
name: tmp
568559
---
569-
apiVersion: storage.k8s.io/v1beta1
560+
apiVersion: storage.k8s.io/v1
570561
kind: CSIDriver
571562
metadata:
572563
name: linodebs.csi.linode.com

tests/csi-sanity/mkdir_in_pod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
kubectl exec csi-linode-controller-0 -n kube-system -c linode-csi-plugin -- mktemp -d /tmp/csi-sanity.XXXXXX
2+
kubectl exec csi-linode-controller-0 -n kube-system -c csi-linode-plugin -- mktemp -d /tmp/csi-sanity.XXXXXX

tests/csi-sanity/rmdir_in_pod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
kubectl exec csi-linode-controller-0 -n kube-system -c linode-csi-plugin -- rmdir "$@"
2+
kubectl exec csi-linode-controller-0 -n kube-system -c csi-linode-plugin -- rmdir "$@"

tests/e2e/test/pod-pvc-luks-mov-volume/chainsaw-test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ spec:
132132
- name: NAMESPACE
133133
value: ($namespace)
134134
content: |
135-
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE
135+
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE && \
136+
kubectl rollout status statefulset/test-statefulset -n $NAMESPACE --timeout=300s
136137
check:
137138
($error): ~
138139
- name: Check if Pod is ready and Volume is mounted (On worker node)
@@ -211,7 +212,8 @@ spec:
211212
- name: NAMESPACE
212213
value: ($namespace)
213214
content: |
214-
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE
215+
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE && \
216+
kubectl rollout status statefulset/test-statefulset -n $NAMESPACE --timeout=300s
215217
check:
216218
($error): ~
217219
- name: Check if Pod is ready and Volume is mounted (after moving back to control plane node)

0 commit comments

Comments
 (0)