mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Allow configuration of nodelabels in local_volume_provisioner (#6620)
This commit is contained in:
@@ -16,6 +16,12 @@ metadata:
|
||||
name: local-volume-provisioner
|
||||
namespace: {{ local_volume_provisioner_namespace }}
|
||||
data:
|
||||
{% if local_volume_provisioner_nodelabels | length > 0 %}
|
||||
nodeLabelsForPV: |
|
||||
{% for nodelabel in local_volume_provisioner_nodelabels %}
|
||||
- {{ nodelabel }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
storageClassMap: |
|
||||
{% for class_name, storage_class in local_volume_provisioner_storage_classes.items() %}
|
||||
{{ class_name }}:
|
||||
|
||||
Reference in New Issue
Block a user