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

storageClass name template as suggested by @eyeofthefrog

parent e1aaef7d
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ metadata: ...@@ -7,7 +7,7 @@ metadata:
name: local-volume-config name: local-volume-config
namespace: {{ system_namespace }} namespace: {{ system_namespace }}
data: data:
"local-storage": | "{{ local_volume_storage_class }}": |
{ {
"hostDir": "{{ local_volume_base_dir }}", "hostDir": "{{ local_volume_base_dir }}",
"mountDir": "{{ local_volume_mount_dir }}" "mountDir": "{{ local_volume_mount_dir }}"
......
...@@ -170,6 +170,7 @@ persistent_volumes_enabled: false ...@@ -170,6 +170,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 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) ## 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.
Finish editing this message first!
Please register or to comment