Add /dev volume (#6319)
This commit is contained in:
parent
f54f63ec3f
commit
a6a6e843af
1 changed files with 5 additions and 0 deletions
|
@ -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 }}
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue