badges: put secrets ini path config in correct place

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-04-04 15:07:16 +10:00
parent 114be68b4f
commit 4df4796e42
2 changed files with 5 additions and 10 deletions

View file

@ -5,11 +5,12 @@ metadata:
name: frontend
labels:
app: badges
service: web
namespace: badges
spec:
ports:
- name: web
port: 8080
targetPort: 8080
selector:
app: badges
deploymentconfig: frontend

View file

@ -46,10 +46,12 @@ tahrir.openid_identifier = http://id.fedoraproject.org/
tahrir.trusted_openid = ^http(s)?:\/\/([a-zA-Z0-9-]+\.)?id\.fedoraproject\.org(/)?$
tahrir.openid_realm = https://badges.fedoraproject.org
tahrir.websocket.topic = org.fedoraproject.prod.fedbadges.badge.award
tahrir.secret_config_path = /etc/badges/secrets.ini
#fedmenu.url = https://apps.fedoraproject.org/fedmenu
#fedmenu.data_url = https://apps.fedoraproject.org/js/data.js
{% endif %}
tahrir.secret_config_path = /etc/badges/secrets.ini
tahrir.secure_cookies = True
tahrir.httponly_cookies = True
tahrir.allow_changenick = False
@ -73,14 +75,6 @@ tahrir.social.twitter_user_text = Check out all these #fedorabadges :trophy:
tahrir.social.twitter_user_hash = #fedora
tahrir.social.gplus = True
{% if env == 'staging' %}
session.secret="{{tahrirstgSessionSecret}}"
authnsecret="{{tahrirstgAuthnSecret}}"
{% else %}
session.secret="{{tahrirSessionSecret}}"
authnsecret="{{tahrirAuthnSecret}}"
{% endif %}
moksha.domain = fedoraproject.org
moksha.notifications = False