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 -%}
|
||||
apiVersion: v1
|
||||
kind: List
|
||||
metadata: {}
|
||||
items:
|
||||
|
||||
- apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: elections-secret
|
||||
labels:
|
||||
app: elections
|
||||
data:
|
||||
client_secrets.json: |-
|
||||
{{ load_file('client_secrets.json') | indent }}
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: elections-secret
|
||||
labels:
|
||||
app: elections
|
||||
stringData:
|
||||
client_secrets.json: |-
|
||||
{{ load_file('client_secrets.json') | indent }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue