Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
e9a67695
Commit
e9a67695
authored
7 years ago
by
Erwan Miran
Browse files
Options
Downloads
Patches
Plain Diff
storageClass name template as suggested by @eyeofthefrog
parent
e1aaef7d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/local_volume_provisioner/templates/configmap.yml.j2
+1
-1
1 addition, 1 deletion
...-apps/local_volume_provisioner/templates/configmap.yml.j2
roles/kubespray-defaults/defaults/main.yaml
+1
-0
1 addition, 0 deletions
roles/kubespray-defaults/defaults/main.yaml
with
2 additions
and
1 deletion
roles/kubernetes-apps/local_volume_provisioner/templates/configmap.yml.j2
+
1
−
1
View file @
e9a67695
...
...
@@ -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 }}"
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
1
−
0
View file @
e9a67695
...
...
@@ -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)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment