storageClass name template as suggested by @eyeofthefrog
This commit is contained in:
parent
e1aaef7d4d
commit
e9a676951b
2 changed files with 2 additions and 1 deletions
|
@ -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 }}"
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue