From ebb79c24e8926538cff9cb0217ad1871801c4b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 13 Jun 2019 14:34:33 +0200 Subject: [PATCH] the-new-hotness: Try lookup in configmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- roles/openshift-apps/the-new-hotness/templates/configmap.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/the-new-hotness/templates/configmap.yml b/roles/openshift-apps/the-new-hotness/templates/configmap.yml index e62412b103..9ca8839f64 100644 --- a/roles/openshift-apps/the-new-hotness/templates/configmap.yml +++ b/roles/openshift-apps/the-new-hotness/templates/configmap.yml @@ -1,4 +1,4 @@ -{% macro load_file(filename) %}{% include filename %}{%- endmacro -%} +#{% macro load_file(filename) %}{% include filename %}{%- endmacro -%} --- apiVersion: v1 kind: List @@ -12,7 +12,8 @@ items: app: the-new-hotness data: config.toml: |- - {{ load_file('config.toml') | indent }} +# {{ load_file('config.toml') | indent }} + {{ lookup('template', 'config.toml') | indent }} - apiVersion: v1 kind: ConfigMap metadata: