the-new-hotness: Try lookup in configmap

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2019-06-13 14:34:33 +02:00
parent 7aa01a3f3d
commit ebb79c24e8

View file

@ -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: