From cf60089e1302f016cf38b8dd9c25d1c296bd4647 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Aug 2019 06:29:26 +0200 Subject: Fix support of arguments in KaaS builders --- roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 090f15a..d033eda 100644 --- a/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 +++ b/roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 @@ -45,7 +45,11 @@ objects: {{ type | lower }}Strategy: dockerfilePath: "{{ builder.dockerfile | default('Dockerfile') }}" {% if builder.args is defined %} - buildArgs: {{ builder.args | to_json }} + buildArgs: + {% for arg_name, arg_val in builder.args.iteritems() %} + - name: "{{ arg_name }}" + value: "{{ arg_val }}" + {% endfor %} {% endif %} {% else %} type: {{ type }} -- cgit v1.2.3