6602760a48
- Local Volume StorageClass configuration is now manged by `local_volume_provisioner_storage_classes`, a list of maps that specifies local storage classes with `name` `host_dir` and `mount_dir` keys per entry - Tasks and templates updated to loop through local volume storage classes - Previous defaults for path/class names were not changed - Fixed an issue where a `kubernetes/preinstall` was creating directories inconsistently with the `kubernetes-apps/external_provisioner/local_volume_provisioner` task
13 lines
No EOL
327 B
Django/Jinja
13 lines
No EOL
327 B
Django/Jinja
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: local-volume-provisioner
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
|
data:
|
|
storageClassMap: |
|
|
{% for class in local_volume_provisioner_storage_classes %}
|
|
{{ class.name }}:
|
|
hostDir: {{ class.host_dir }}
|
|
mountDir: {{ class.mount_dir }}
|
|
{% endfor %} |