monitor-gating: Make the runner.cfg to /config
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
6fbebb269b
commit
8c94b4c6e6
3 changed files with 3 additions and 17 deletions
|
@ -1,11 +0,0 @@
|
|||
{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: monitor-gating-configmap
|
||||
labels:
|
||||
app: monitor-gating
|
||||
data:
|
||||
runner.cfg: |-
|
||||
{{ load_file('runner.cfg') | indent }}
|
|
@ -23,9 +23,6 @@ spec:
|
|||
image: monitor-gating:latest
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /config/
|
||||
readOnly: true
|
||||
- name: monitor-gating-secret-volume
|
||||
mountPath: /config/app-config/
|
||||
readOnly: true
|
||||
|
@ -33,9 +30,6 @@ spec:
|
|||
mountPath: /root/.ssh/
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: monitor-gating-configmap
|
||||
- name: monitor-gating-secret-volume
|
||||
secret:
|
||||
secretName: monitor-gating-secret
|
||||
|
|
|
@ -8,3 +8,6 @@ metadata:
|
|||
stringData:
|
||||
monitor_gating.cfg: |-
|
||||
{{ load_file('monitor_gating.cfg') | indent }}
|
||||
runner.cfg: |-
|
||||
{{ load_file('runner.cfg') | indent }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue