diff --git a/charts/latest/csi-driver-nfs-v0.0.0.tgz b/charts/latest/csi-driver-nfs-v0.0.0.tgz index 12f3cc0e..6b924c66 100644 Binary files a/charts/latest/csi-driver-nfs-v0.0.0.tgz and b/charts/latest/csi-driver-nfs-v0.0.0.tgz differ diff --git a/charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml b/charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml index 89778b4b..ba3df62d 100644 --- a/charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml +++ b/charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml @@ -140,6 +140,8 @@ spec: volumeMounts: - name: socket-dir mountPath: /csi + - name: tmp-dir + mountPath: /tmp - name: pods-mount-dir mountPath: {{ .Values.kubeletDir }}/pods mountPropagation: "Bidirectional" @@ -155,6 +157,8 @@ spec: hostPath: path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin type: DirectoryOrCreate + - name: tmp-dir + emptyDir: {} - name: pods-mount-dir hostPath: path: {{ .Values.kubeletDir }}/pods diff --git a/deploy/csi-nfs-controller.yaml b/deploy/csi-nfs-controller.yaml index 541e9f71..e9e44e77 100644 --- a/deploy/csi-nfs-controller.yaml +++ b/deploy/csi-nfs-controller.yaml @@ -140,6 +140,8 @@ spec: mountPropagation: "Bidirectional" - mountPath: /csi name: socket-dir + - name: tmp-dir + mountPath: /tmp resources: limits: memory: 200Mi @@ -151,5 +153,7 @@ spec: hostPath: path: /var/lib/kubelet/pods type: Directory + - name: tmp-dir + emptyDir: {} - name: socket-dir emptyDir: {} diff --git a/deploy/csi-nfs-node.yaml b/deploy/csi-nfs-node.yaml index c95af31d..ad00e7b8 100644 --- a/deploy/csi-nfs-node.yaml +++ b/deploy/csi-nfs-node.yaml @@ -118,6 +118,8 @@ spec: volumeMounts: - name: socket-dir mountPath: /csi + - name: tmp-dir + mountPath: /tmp - name: pods-mount-dir mountPath: /var/lib/kubelet/pods mountPropagation: "Bidirectional" @@ -132,6 +134,8 @@ spec: hostPath: path: /var/lib/kubelet/plugins/csi-nfsplugin type: DirectoryOrCreate + - name: tmp-dir + emptyDir: {} - name: pods-mount-dir hostPath: path: /var/lib/kubelet/pods