Skip to content

Commit 8eb3d65

Browse files
authored
Merge pull request #489 from andyzhangx/node-registrar-v2.3
chore: upgrade to node-registrar v2.3.0
2 parents bd80588 + 62244e0 commit 8eb3d65

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed
-21 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,13 @@ spec:
7272
- --csi-address=$(ADDRESS)
7373
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
7474
- --v=2
75-
lifecycle:
76-
preStop:
77-
exec:
78-
command: ["/bin/sh", "-c", "rm -rf /registration/{{ .Values.driver.name }}-reg.sock /csi/csi.sock"]
75+
livenessProbe:
76+
exec:
77+
command:
78+
- /csi-node-driver-registrar
79+
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
80+
- --mode=kubelet-registration-probe
81+
initialDelaySeconds: 3
7982
env:
8083
- name: ADDRESS
8184
value: /csi/csi.sock

charts/latest/blob-csi-driver/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ image:
1313
pullPolicy: IfNotPresent
1414
nodeDriverRegistrar:
1515
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar
16-
tag: v2.2.0
16+
tag: v2.3.0
1717
pullPolicy: IfNotPresent
1818
csiResizer:
1919
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer

deploy/csi-blob-node.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,18 @@ spec:
5353
cpu: 10m
5454
memory: 20Mi
5555
- name: node-driver-registrar
56-
image: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v2.2.0
56+
image: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v2.3.0
5757
args:
5858
- --csi-address=$(ADDRESS)
5959
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
6060
- --v=2
61-
lifecycle:
62-
preStop:
63-
exec:
64-
command: ["/bin/sh", "-c", "rm -rf /registration/blob.csi.azure.com-reg.sock /csi/csi.sock"]
61+
livenessProbe:
62+
exec:
63+
command:
64+
- /csi-node-driver-registrar
65+
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
66+
- --mode=kubelet-registration-probe
67+
initialDelaySeconds: 3
6568
env:
6669
- name: ADDRESS
6770
value: /csi/csi.sock

0 commit comments

Comments
 (0)