Move waiverdb configmap to a template to conditionalize stg vs not
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
5f6624fe82
commit
6f6a2dbfe9
2 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,11 @@ metadata:
|
|||
app: waiverdb
|
||||
data:
|
||||
settings.py: |-
|
||||
{% if env == 'staging' %}
|
||||
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.stg.phx2.fedoraproject.org:5432/waiverdb'
|
||||
{% else %}
|
||||
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.phx2.fedoraproject.org:5432/waiverdb'
|
||||
{% end %}
|
||||
AUTH_METHOD = 'OIDC'
|
||||
OIDC_CLIENT_SECRETS = '/etc/secret/client_secrets.json'
|
||||
PORT = 8080
|
Loading…
Add table
Add a link
Reference in a new issue