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:
Hugo Blom
2020-02-26 14:12:25 +01:00
committed by GitHub
parent c6170eb79d
commit 171d2ce59c
3 changed files with 19 additions and 0 deletions

View File

@@ -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 %}