elections: the path to the fedora-messaging config is specified by an environment variable in the container

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-04-29 11:58:25 +02:00
parent 48ac98d72d
commit c5cde07727
2 changed files with 0 additions and 15 deletions

View file

@ -40,9 +40,6 @@ spec:
- name: config-volume
mountPath: /opt/app-root/config/
readOnly: true
- name: fedora-messaging-config-volume
mountPath: /etc/fedora-messaging
readOnly: true
- name: fedora-messaging-ca-volume
mountPath: /etc/pki/rabbitmq/ca
readOnly: true
@ -68,9 +65,6 @@ spec:
- name: config-volume
configMap:
name: elections-configmap
- name: fedora-messaging-config-volume
configMap:
name: elections-fedora-messaging-configmap
- name: fedora-messaging-ca-volume
secret:
secretName: elections-fedora-messaging-ca

View file

@ -9,15 +9,6 @@ metadata:
data:
alembic.ini: |-
{{ load_file('alembic.ini') | indent }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: elections-fedora-messaging-configmap
labels:
app: elections
data:
fedora-elections.cfg: |-
{{ load_file('fedora-elections.cfg') | indent }}