From e7175b16015060b2210e425db223b5a811b55806 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 28 Aug 2019 23:44:22 +0200 Subject: Support parameters in KaaS apps --- roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/ands_kaas/templates') 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 2174962..97f620d 100644 --- a/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 +++ b/roles/ands_kaas/templates/50-kaas-app-pods.yml.j2 @@ -3,6 +3,9 @@ {% set app = app | default('{}') %} apiVersion: v1 kind: Template +{% if parameters | length %} +parameters: {{ parameters | to_json }} +{% endif %} metadata: name: {{ appname | default(kaas_project) }}-pods annotations: -- cgit v1.2.3