Badges: add missing secrets

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-04-29 14:00:02 +02:00
parent 14f399e536
commit 87101fc5da
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 4 additions and 6 deletions

View file

@ -103,10 +103,10 @@
template: buildconfig.yml
objectname: buildconfig.yml
# - role: openshift/object
# app: badges
# template: secrets.yml
# objectname: secrets.yml
- role: openshift/object
app: badges
template: secrets.yml
objectname: secrets.yml
- role: openshift/object
app: badges

View file

@ -5,9 +5,7 @@ metadata:
name: badges
stringData:
{% if env == 'staging' %}
oidc-client-secret: {{ badges_stg_oidc_client_secret }}
redis-password: {{ badges_stg_redis_password }}
{% else %}
oidc-client-secret: {{ badges_prod_oidc_client_secret }}
redis-password: {{ badges_prod_redis_password }}
{% endif %}