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
|
||||
volumes:
|
||||
- config-volume
|
||||
- secret-volume
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -40,6 +41,9 @@ spec:
|
|||
- name: config-volume
|
||||
mountPath: /opt/app-root/config/
|
||||
readOnly: true
|
||||
- name: secret-volume:
|
||||
mountPath: /opt/app-root/secret/
|
||||
readOnly: true
|
||||
- name: fedora-messaging-ca-volume
|
||||
mountPath: /etc/pki/rabbitmq/ca
|
||||
readOnly: true
|
||||
|
@ -65,6 +69,9 @@ spec:
|
|||
- name: config-volume
|
||||
configMap:
|
||||
name: elections-configmap
|
||||
- name: secret-volume:
|
||||
secret:
|
||||
secretName: elections-secret
|
||||
- name: fedora-messaging-ca-volume
|
||||
secret:
|
||||
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'
|
||||
|
||||
|
||||
OIDC_CLIENT_SECRETS = '/opt/app-root/secret/client_secrets.json'
|
||||
|
||||
## Fedora-elections can integrate with FAS to retrieve information about the
|
||||
## candidates, the following configuration keys are required for this
|
||||
## integration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue