storageClass name template as suggested by @eyeofthefrog

pull/2274/head
Erwan Miran 2018-02-09 00:11:07 +01:00
parent e1aaef7d4d
commit e9a676951b
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ metadata:
name: local-volume-config
namespace: {{ system_namespace }}
data:
"local-storage": |
"{{ local_volume_storage_class }}": |
{
"hostDir": "{{ local_volume_base_dir }}",
"mountDir": "{{ local_volume_mount_dir }}"

View File

@ -170,6 +170,7 @@ persistent_volumes_enabled: false
# Base path for local volume provisioner addon
local_volume_base_dir: /mnt/disks
local_volume_mount_dir: /local-disks
local_volume_storage_class: local-storage
## 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)"