diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-08-22 06:29:26 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-08-22 06:29:26 +0200 |
commit | cf60089e1302f016cf38b8dd9c25d1c296bd4647 (patch) | |
tree | f84f07b4abe55628108597a67c80c0c2f01a5880 /roles/ands_kaas | |
parent | e41e21f6d0f5ca7aace86bf60e8b503bb20fdcd5 (diff) | |
download | ands-cf60089e1302f016cf38b8dd9c25d1c296bd4647.tar.gz ands-cf60089e1302f016cf38b8dd9c25d1c296bd4647.tar.bz2 ands-cf60089e1302f016cf38b8dd9c25d1c296bd4647.tar.xz ands-cf60089e1302f016cf38b8dd9c25d1c296bd4647.zip |
Fix support of arguments in KaaS builders
Diffstat (limited to 'roles/ands_kaas')
-rw-r--r-- | roles/ands_kaas/templates/40-kaas-app-builders.yml.j2 | 6 |
1 files changed, 5 insertions, 1 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 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 }} |