Skip to content

Commit e244246

Browse files
authored
Merge pull request #176 from jsafrane/fix-pre-stop-hook
Remove preStop hook
2 parents 539736a + b73917c commit e244246

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

deploy/kubernetes-1.15/hostpath/csi-hostpath-plugin.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ spec:
3838
containers:
3939
- name: node-driver-registrar
4040
image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
41-
lifecycle:
42-
preStop:
43-
exec:
44-
command: ["/bin/sh", "-c", "rm -rf /registration/csi-hostpath /registration/csi-hostpath-reg.sock"]
4541
args:
4642
- --v=5
4743
- --csi-address=/csi/csi.sock

deploy/kubernetes-1.16/hostpath/csi-hostpath-plugin.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ spec:
3737
containers:
3838
- name: node-driver-registrar
3939
image: quay.io/k8scsi/csi-node-driver-registrar:v1.3.0
40-
lifecycle:
41-
preStop:
42-
exec:
43-
command: ["/bin/sh", "-c", "rm -rf /registration/csi-hostpath /registration/csi-hostpath-reg.sock"]
4440
args:
4541
- --v=5
4642
- --csi-address=/csi/csi.sock

deploy/kubernetes-1.17/hostpath/csi-hostpath-plugin.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ spec:
3737
containers:
3838
- name: node-driver-registrar
3939
image: quay.io/k8scsi/csi-node-driver-registrar:v1.3.0
40-
lifecycle:
41-
preStop:
42-
exec:
43-
command: ["/bin/sh", "-c", "rm -rf /registration/csi-hostpath /registration/csi-hostpath-reg.sock"]
4440
args:
4541
- --v=5
4642
- --csi-address=/csi/csi.sock

deploy/kubernetes-1.18/hostpath/csi-hostpath-plugin.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ spec:
3737
containers:
3838
- name: node-driver-registrar
3939
image: quay.io/k8scsi/csi-node-driver-registrar:v1.3.0
40-
lifecycle:
41-
preStop:
42-
exec:
43-
command: ["/bin/sh", "-c", "rm -rf /registration/csi-hostpath /registration/csi-hostpath-reg.sock"]
4440
args:
4541
- --v=5
4642
- --csi-address=/csi/csi.sock

0 commit comments

Comments
 (0)