elections: mount the secret volume and point elections to it
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
2b16867d92
commit
ded44bdb34
2 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,7 @@ spec:
|
||||||
value: /opt/app-root/src
|
value: /opt/app-root/src
|
||||||
volumes:
|
volumes:
|
||||||
- config-volume
|
- config-volume
|
||||||
|
- secret-volume
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -40,6 +41,9 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /opt/app-root/config/
|
mountPath: /opt/app-root/config/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: secret-volume:
|
||||||
|
mountPath: /opt/app-root/secret/
|
||||||
|
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
|
||||||
|
@ -65,6 +69,9 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: elections-configmap
|
name: elections-configmap
|
||||||
|
- name: secret-volume:
|
||||||
|
secret:
|
||||||
|
secretName: elections-secret
|
||||||
- name: fedora-messaging-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: elections-fedora-messaging-ca
|
secretName: elections-fedora-messaging-ca
|
||||||
|
|
|
@ -17,6 +17,8 @@ DB_URL='postgresql://{{ elections_db_user }}:{{ elections_db_pass }}@db01.phx2.f
|
||||||
FEDORA_ELECTIONS_ADMIN_GROUP = 'elections'
|
FEDORA_ELECTIONS_ADMIN_GROUP = 'elections'
|
||||||
|
|
||||||
|
|
||||||
|
OIDC_CLIENT_SECRETS = '/opt/app-root/secret/client_secrets.json'
|
||||||
|
|
||||||
## Fedora-elections can integrate with FAS to retrieve information about the
|
## Fedora-elections can integrate with FAS to retrieve information about the
|
||||||
## candidates, the following configuration keys are required for this
|
## candidates, the following configuration keys are required for this
|
||||||
## integration.
|
## integration.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue