summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas/templates/40-kaas-app-builders.yml.j2')
-rw-r--r--roles/ands_kaas/templates/40-kaas-app-builders.yml.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 b/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2
index 50bef9a..d37c4d6 100644
--- a/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2
+++ b/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2
@@ -13,7 +13,7 @@ metadata:
labels: {{ applabels | to_json }}
{% endif %}
objects:
-{% for name, builder in builders.iteritems() %}
+{% for name, builder in builders.items() %}
{% set isname = builder.name | default(name) | regex_replace('_','-') %}
{% set istag = builder.version | default("latest") %}
{% set bcname = isname if istag == 'latest' else isname + '-' + istag %}
@@ -55,7 +55,7 @@ objects:
dockerfilePath: "{{ builder.dockerfile | default('Dockerfile') }}"
{% if builder.args is defined %}
buildArgs:
- {% for arg_name, arg_val in builder.args.iteritems() %}
+ {% for arg_name, arg_val in builder.args.items() %}
- name: "{{ arg_name }}"
value: "{{ arg_val }}"
{% endfor %}