mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Implement topology support for Cinder CSI (#5667)
* make cinder csi topology aware * change feature description do better reflect whats being done * remove sameas true since it isn't required
This commit is contained in:
@@ -11,4 +11,13 @@ parameters:
|
||||
{% for key, value in (class.parameters | default({})).items() %}
|
||||
"{{ key }}": "{{ value }}"
|
||||
{% endfor %}
|
||||
{% if cinder_topology is defined and cinder_topology is sameas true %}
|
||||
allowedTopologies:
|
||||
- matchLabelExpressions:
|
||||
- key: topology.cinder.csi.openstack.org/zone
|
||||
values:
|
||||
{% for zone in cinder_topology_zones %}
|
||||
- "{{ zone }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user