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:
parent
48ac98d72d
commit
c5cde07727
2 changed files with 0 additions and 15 deletions
|
@ -40,9 +40,6 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /opt/app-root/config/
|
mountPath: /opt/app-root/config/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: fedora-messaging-config-volume
|
|
||||||
mountPath: /etc/fedora-messaging
|
|
||||||
readOnly: true
|
|
||||||
- name: fedora-messaging-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
mountPath: /etc/pki/rabbitmq/ca
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
@ -68,9 +65,6 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: elections-configmap
|
name: elections-configmap
|
||||||
- name: fedora-messaging-config-volume
|
|
||||||
configMap:
|
|
||||||
name: elections-fedora-messaging-configmap
|
|
||||||
- name: fedora-messaging-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: elections-fedora-messaging-ca
|
secretName: elections-fedora-messaging-ca
|
||||||
|
|
|
@ -9,15 +9,6 @@ metadata:
|
||||||
data:
|
data:
|
||||||
alembic.ini: |-
|
alembic.ini: |-
|
||||||
{{ load_file('alembic.ini') | indent }}
|
{{ load_file('alembic.ini') | indent }}
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: elections-fedora-messaging-configmap
|
|
||||||
labels:
|
|
||||||
app: elections
|
|
||||||
data:
|
|
||||||
fedora-elections.cfg: |-
|
fedora-elections.cfg: |-
|
||||||
{{ load_file('fedora-elections.cfg') | indent }}
|
{{ load_file('fedora-elections.cfg') | indent }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue