diff options
Diffstat (limited to 'roles/ands_kaas/templates/00-block-volumes.yml.j2')
-rw-r--r-- | roles/ands_kaas/templates/00-block-volumes.yml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/ands_kaas/templates/00-block-volumes.yml.j2 b/roles/ands_kaas/templates/00-block-volumes.yml.j2 index 9982d61..f313699 100644 --- a/roles/ands_kaas/templates/00-block-volumes.yml.j2 +++ b/roles/ands_kaas/templates/00-block-volumes.yml.j2 @@ -5,7 +5,7 @@ metadata: annotations: descriptions: "{{ kaas_project }} glusterfs block volumes" objects: -{% for name, vol in kaas_block_volumes.iteritems() %} +{% for name, vol in kaas_block_volumes.items() %} {% set oc_name = vol.name | default(name) | regex_replace('_','-') %} {% if oc_name | regex_search("^" + kaas_project) %} {% set pvname = oc_name %} |