mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 05:14:58 +08:00
Blockerbugs: secret_key got prefixed for prod and stg
Fixes https://pagure.io/fedora-qa/blockerbugs/issue/215
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user