the-new-hotness: Try lookup in configmap
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
7aa01a3f3d
commit
ebb79c24e8
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
#{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: List
|
kind: List
|
||||||
|
@ -12,7 +12,8 @@ items:
|
||||||
app: the-new-hotness
|
app: the-new-hotness
|
||||||
data:
|
data:
|
||||||
config.toml: |-
|
config.toml: |-
|
||||||
{{ load_file('config.toml') | indent }}
|
# {{ load_file('config.toml') | indent }}
|
||||||
|
{{ lookup('template', 'config.toml') | indent }}
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue