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
|
image: monitor-gating:latest
|
||||||
resources: {}
|
resources: {}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
|
||||||
mountPath: /config/
|
|
||||||
readOnly: true
|
|
||||||
- name: monitor-gating-secret-volume
|
- name: monitor-gating-secret-volume
|
||||||
mountPath: /config/app-config/
|
mountPath: /config/app-config/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
@ -33,9 +30,6 @@ spec:
|
||||||
mountPath: /root/.ssh/
|
mountPath: /root/.ssh/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
|
||||||
configMap:
|
|
||||||
name: monitor-gating-configmap
|
|
||||||
- name: monitor-gating-secret-volume
|
- name: monitor-gating-secret-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: monitor-gating-secret
|
secretName: monitor-gating-secret
|
||||||
|
|
|
@ -8,3 +8,6 @@ metadata:
|
||||||
stringData:
|
stringData:
|
||||||
monitor_gating.cfg: |-
|
monitor_gating.cfg: |-
|
||||||
{{ load_file('monitor_gating.cfg') | indent }}
|
{{ load_file('monitor_gating.cfg') | indent }}
|
||||||
|
runner.cfg: |-
|
||||||
|
{{ load_file('runner.cfg') | indent }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue