summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/templates
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-28 23:44:22 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-28 23:44:22 +0200
commite7175b16015060b2210e425db223b5a811b55806 (patch)
tree70c19f44cdcb8595663124bafba9a5352dfce74d /roles/ands_kaas/templates
parent79e60f2f201e1330a2716825dac985abb7a2bef0 (diff)
downloadands-e7175b16015060b2210e425db223b5a811b55806.tar.gz
ands-e7175b16015060b2210e425db223b5a811b55806.tar.bz2
ands-e7175b16015060b2210e425db223b5a811b55806.tar.xz
ands-e7175b16015060b2210e425db223b5a811b55806.zip
Support parameters in KaaS apps
Diffstat (limited to 'roles/ands_kaas/templates')
-rw-r--r--roles/ands_kaas/templates/50-kaas-app-pods.yml.j23
1 files changed, 3 insertions, 0 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 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: