diff options
Diffstat (limited to 'roles/ands_kaas/templates/50-kaas-app-pods.yml.j2')
-rw-r--r-- | roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 b/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 index 97f620d..76ba6eb 100644 --- a/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 +++ b/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 @@ -15,7 +15,7 @@ metadata: labels: {{ applabels | to_json }} {% endif %} objects: -{% for name, pod in pods.iteritems() %} +{% for name, pod in pods.items() %} {% set kind = pod.kind | default('DeploymentConfig') %} {% set podname = pod.name | default(name) | regex_replace('_','-') %} {% if pod.enabled | default(true) %} @@ -168,7 +168,7 @@ objects: {% endif %} {% if pod.pvc is defined %} volumeClaimTemplates: - {% for name, pvc in pod.pvc.iteritems() %} + {% for name, pvc in pod.pvc.items() %} {% set pvcname = name | regex_replace('_','-') %} {% set pv = kaas_project_local_volumes[pvcname] | default({}) %} {% set oc_name = pv.name | default(pvcname) | regex_replace('_','-') %} |