Skip to content
Snippets Groups Projects
Commit abfb1472 authored by Erwan Miran's avatar Erwan Miran
Browse files

MountDir in configmap and daemonset must be the same

parent 44eb03f7
No related branches found
No related tags found
Loading
...@@ -10,5 +10,5 @@ data: ...@@ -10,5 +10,5 @@ data:
"local-storage": | "local-storage": |
{ {
"hostDir": "{{ local_volume_base_dir }}", "hostDir": "{{ local_volume_base_dir }}",
"mountDir": "/mnt/local-storage/" "mountDir": "{{ local_volume_mount_dir }}"
} }
...@@ -18,7 +18,7 @@ spec: ...@@ -18,7 +18,7 @@ spec:
privileged: true privileged: true
volumeMounts: volumeMounts:
- name: discovery-vol - name: discovery-vol
mountPath: "/local-disks" mountPath: "/{{ local_volume_mount_dir }}"
- name: local-volume-config - name: local-volume-config
mountPath: /etc/provisioner/config/ mountPath: /etc/provisioner/config/
env: env:
......
...@@ -169,6 +169,7 @@ persistent_volumes_enabled: false ...@@ -169,6 +169,7 @@ persistent_volumes_enabled: false
# Base path for local volume provisioner addon # Base path for local volume provisioner addon
local_volume_base_dir: /mnt/disks local_volume_base_dir: /mnt/disks
local_volume_mount_dir: /local-disks
## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461) ## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
# openstack_blockstorage_version: "v1/v2/auto (default)" # openstack_blockstorage_version: "v1/v2/auto (default)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment