Blockerbugs: secret_key got prefixed for prod and stg

Fixes https://pagure.io/fedora-qa/blockerbugs/issue/215
This commit is contained in:
František Zatloukal 2022-09-27 21:33:39 +02:00
parent 24629a60c1
commit a96ca061a9
2 changed files with 8 additions and 2 deletions

View file

@ -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 }}"

View file

@ -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