From 6e59160eeaeb7296d196a6510029e718c0752e63 Mon Sep 17 00:00:00 2001 From: Sunny Tulsi Date: Thu, 4 Mar 2021 14:51:38 -0800 Subject: [PATCH] Removing prestop hook for node-driver-registrar Issue: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/747 --- charts/aws-ebs-csi-driver/templates/node.yaml | 4 ---- deploy/kubernetes/base/node.yaml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/charts/aws-ebs-csi-driver/templates/node.yaml b/charts/aws-ebs-csi-driver/templates/node.yaml index bf9c6e0111..9c5d695575 100644 --- a/charts/aws-ebs-csi-driver/templates/node.yaml +++ b/charts/aws-ebs-csi-driver/templates/node.yaml @@ -102,10 +102,6 @@ spec: - --csi-address=$(ADDRESS) - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH) - --v=5 - lifecycle: - preStop: - exec: - command: ["/bin/sh", "-c", "rm -rf /registration/ebs.csi.aws.com-reg.sock /csi/csi.sock"] env: - name: ADDRESS value: /csi/csi.sock diff --git a/deploy/kubernetes/base/node.yaml b/deploy/kubernetes/base/node.yaml index bc00d3f7bb..d8e65cd0cb 100644 --- a/deploy/kubernetes/base/node.yaml +++ b/deploy/kubernetes/base/node.yaml @@ -74,10 +74,6 @@ spec: - --csi-address=$(ADDRESS) - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH) - --v=5 - lifecycle: - preStop: - exec: - command: ["/bin/sh", "-c", "rm -rf /registration/ebs.csi.aws.com-reg.sock /csi/csi.sock"] env: - name: ADDRESS value: /csi/csi.sock