Blockerbugs: secret_key got prefixed for prod and stg
Fixes https://pagure.io/fedora-qa/blockerbugs/issue/215
This commit is contained in:
parent
24629a60c1
commit
a96ca061a9
2 changed files with 8 additions and 2 deletions
|
@ -35,9 +35,13 @@ spec:
|
|||
{% if env == 'staging' %}
|
||||
- name: POSTGRESQL_PASSWORD
|
||||
value: "{{ stg_blockerbugs_db_password }}"
|
||||
- name: SECRET_KEY
|
||||
value: "{{ stg_blockerbugs_secret_key }}"
|
||||
{% else %}
|
||||
- name: POSTGRESQL_PASSWORD
|
||||
value: "{{ prod_blockerbugs_db_password }}"
|
||||
- name: SECRET_KEY
|
||||
value: "{{ prod_blockerbugs_secret_key }}"
|
||||
{% endif %}
|
||||
- name: SECRET_KEY
|
||||
value: "{{ blockerbugs_secret_key }}"
|
||||
|
|
|
@ -53,12 +53,14 @@ spec:
|
|||
{% if env == 'staging' %}
|
||||
- name: POSTGRESQL_PASSWORD
|
||||
value: "{{ stg_blockerbugs_db_password }}"
|
||||
- name: SECRET_KEY
|
||||
value: "{{ stg_blockerbugs_secret_key }}"
|
||||
{% else %}
|
||||
- name: POSTGRESQL_PASSWORD
|
||||
value: "{{ prod_blockerbugs_db_password }}"
|
||||
{% endif %}
|
||||
- name: SECRET_KEY
|
||||
value: "{{ blockerbugs_secret_key }}"
|
||||
value: "{{ prod_blockerbugs_secret_key }}"
|
||||
{% endif %}
|
||||
- name: BLOCKERBUGS_URL
|
||||
value: "https://qa{{ env_suffix }}.fedoraproject.org/blockerbugs/"
|
||||
- name: BLOCKERBUGS_API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue