elections: Rework again the secret.yml again
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
2dab570f7d
commit
e76e1a88eb
1 changed files with 8 additions and 13 deletions
|
@ -1,16 +1,11 @@
|
||||||
---
|
---
|
||||||
{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: List
|
kind: Secret
|
||||||
metadata: {}
|
metadata:
|
||||||
items:
|
name: elections-secret
|
||||||
|
labels:
|
||||||
- apiVersion: v1
|
app: elections
|
||||||
kind: Secret
|
stringData:
|
||||||
metadata:
|
client_secrets.json: |-
|
||||||
name: elections-secret
|
{{ load_file('client_secrets.json') | indent }}
|
||||||
labels:
|
|
||||||
app: elections
|
|
||||||
data:
|
|
||||||
client_secrets.json: |-
|
|
||||||
{{ load_file('client_secrets.json') | indent }}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue