Skip to content

Commit

Permalink
Merge pull request #109 from pohly/raw-block-dev-device
Browse files Browse the repository at this point in the history
deploy: share /dev with host
  • Loading branch information
k8s-ci-robot committed Oct 28, 2019
2 parents 8359099 + 6fb9ba7 commit 22ae799
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion deploy/kubernetes-1.14/hostpath/csi-hostpath-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
name: plugins-dir
- mountPath: /csi-data-dir
name: csi-data-dir

- mountPath: /dev
name: dev-dir
- name: liveness-probe
volumeMounts:
- mountPath: /csi
Expand Down Expand Up @@ -136,3 +137,7 @@ spec:
path: /var/lib/csi-hostpath-data/
type: DirectoryOrCreate
name: csi-data-dir
- hostPath:
path: /dev
type: Directory
name: dev-dir
7 changes: 6 additions & 1 deletion deploy/kubernetes-1.15/hostpath/csi-hostpath-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
name: plugins-dir
- mountPath: /csi-data-dir
name: csi-data-dir

- mountPath: /dev
name: dev-dir
- name: liveness-probe
volumeMounts:
- mountPath: /csi
Expand Down Expand Up @@ -136,3 +137,7 @@ spec:
path: /var/lib/csi-hostpath-data/
type: DirectoryOrCreate
name: csi-data-dir
- hostPath:
path: /dev
type: Directory
name: dev-dir
7 changes: 6 additions & 1 deletion deploy/kubernetes-1.16/hostpath/csi-hostpath-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
name: plugins-dir
- mountPath: /csi-data-dir
name: csi-data-dir

- mountPath: /dev
name: dev-dir
- name: liveness-probe
volumeMounts:
- mountPath: /csi
Expand Down Expand Up @@ -136,3 +137,7 @@ spec:
path: /var/lib/csi-hostpath-data/
type: DirectoryOrCreate
name: csi-data-dir
- hostPath:
path: /dev
type: Directory
name: dev-dir

0 comments on commit 22ae799

Please sign in to comment.