Skip to content

Commit fa2af9f

Browse files
authored
[cinder-csi-plugin] Remove the pods-cloud-data volume (kubernetes#1182)
pods-cloud-data volume is no longer used, removing the mount
1 parent 9badff3 commit fa2af9f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ spec:
7070
- name: kubelet-dir
7171
mountPath: /var/lib/kubelet
7272
mountPropagation: "Bidirectional"
73-
- name: pods-cloud-data
74-
mountPath: /var/lib/cloud/data
75-
readOnly: true
7673
- name: pods-probe-dir
7774
mountPath: /dev
7875
mountPropagation: "HostToContainer"
@@ -92,10 +89,6 @@ spec:
9289
hostPath:
9390
path: /var/lib/kubelet
9491
type: Directory
95-
- name: pods-cloud-data
96-
hostPath:
97-
path: /var/lib/cloud/data
98-
type: Directory
9992
- name: pods-probe-dir
10093
hostPath:
10194
path: /dev

pkg/util/mount/mount.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const (
3939
operationFinishInitDelay = 1 * time.Second
4040
operationFinishFactor = 1.1
4141
operationFinishSteps = 15
42-
instanceIDFile = "/var/lib/cloud/data/instance-id"
4342
)
4443

4544
type IMount interface {

0 commit comments

Comments
 (0)