Skip to content

Commit

Permalink
Add /dev volume (kubernetes-sigs#6319)
Browse files Browse the repository at this point in the history
  • Loading branch information
irizzant authored and LuckySB committed Jun 29, 2020
1 parent 6ab450b commit 98dd1f3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ spec:
- name: local-volume-provisioner
mountPath: /etc/provisioner/config
readOnly: true
- mountPath: /dev
name: provisioner-dev
{% for class_name, class_config in local_volume_provisioner_storage_classes.items() %}
- name: local-volume-provisioner-hostpath-{{ class_name }}
mountPath: {{ class_config.mount_dir }}
Expand All @@ -51,6 +53,9 @@ spec:
- name: local-volume-provisioner
configMap:
name: local-volume-provisioner
- name: provisioner-dev
hostPath:
path: /dev
{% for class_name, class_config in local_volume_provisioner_storage_classes.items() %}
- name: local-volume-provisioner-hostpath-{{ class_name }}
hostPath:
Expand Down

0 comments on commit 98dd1f3

Please sign in to comment.