From a6a6e843af1593467a3e3c95a371305a2d87707e Mon Sep 17 00:00:00 2001 From: irizzant Date: Thu, 25 Jun 2020 15:22:38 +0200 Subject: [PATCH] Add /dev volume (#6319) --- .../templates/local-volume-provisioner-ds.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 b/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 index f6be8cc77..734b5ff28 100644 --- a/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 +++ b/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 @@ -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: