From 959f751afa71765e4158b6e73bbadbbcd1396367 Mon Sep 17 00:00:00 2001 From: Christian Rohmann Date: Thu, 14 Feb 2019 09:39:31 +0100 Subject: [PATCH] Use the same directory to place our csi.sock in and remove obsolete volumes --- deploy/kubernetes/controller.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/deploy/kubernetes/controller.yaml b/deploy/kubernetes/controller.yaml index d1a6bcd535..2f2cd6e389 100644 --- a/deploy/kubernetes/controller.yaml +++ b/deploy/kubernetes/controller.yaml @@ -158,7 +158,7 @@ spec: - name: ADDRESS value: /csi/csi.sock volumeMounts: - - name: plugin-dir + - name: socket-dir mountPath: /csi - name: csi-provisioner image: quay.io/k8scsi/csi-provisioner:v1.0.1 @@ -189,11 +189,3 @@ spec: volumes: - name: socket-dir emptyDir: {} - - name: plugin-dir - hostPath: - path: /var/lib/kubelet/plugins/ebs.csi.aws.com/ - type: DirectoryOrCreate - - name: registration-dir - hostPath: - path: /var/lib/kubelet/plugins_registry/ - type: Directory