From 97369bf0eb316aef63120b1841d5e1093c5ac6b0 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Fri, 20 Sep 2024 16:21:58 +0200 Subject: [PATCH] fix: Deploy twitter token --- defaults/main/secrets.yml | 1 + templates/geokrety_legacy.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/defaults/main/secrets.yml b/defaults/main/secrets.yml index e2e1f5a..5514c92 100644 --- a/defaults/main/secrets.yml +++ b/defaults/main/secrets.yml @@ -12,6 +12,7 @@ geokrety_docker_secrets: GK_OPAUTH_GOOGLE_CLIENT_SECRET: "{{ params.social_auth.google.client_secret | default() }}" GK_OPAUTH_FACEBOOK_CLIENT_SECRET: "{{ params.social_auth.facebook.client_secret | default() }}" GK_OPAUTH_GITHUB_CLIENT_SECRET: "{{ params.social_auth.github.client_secret | default() }}" + GK_OPAUTH_TWITTER_CLIENT_SECRET: "{{ params.social_auth.twitter.client_secret | default() }}" GK_OKAPI_CONSUMER_KEY_OC_PL: "{{ params.OKAPI.OC_PL.CONSUMER_KEY | default(geokrety_params.OKAPI.OC_PL.CONSUMER_KEY | default()) }}" GK_OKAPI_CONSUMER_KEY_OC_UK: "{{ params.OKAPI.OC_UK.CONSUMER_KEY | default(geokrety_params.OKAPI.OC_UK.CONSUMER_KEY | default()) }}" GK_OKAPI_CONSUMER_KEY_OC_DE: "{{ params.OKAPI.OC_DE.CONSUMER_KEY | default(geokrety_params.OKAPI.OC_DE.CONSUMER_KEY | default()) }}" diff --git a/templates/geokrety_legacy.yml b/templates/geokrety_legacy.yml index adbe52f..4b9fea2 100644 --- a/templates/geokrety_legacy.yml +++ b/templates/geokrety_legacy.yml @@ -96,6 +96,9 @@ x-variables: &variables {% if params.social_auth.github is defined %} GK_OPAUTH_GITHUB_CLIENT_ID: "{{ params.social_auth.github.client_id }}" {% endif %} +{% if params.social_auth.twitter is defined %} + GK_OPAUTH_TWITTER_CLIENT_ID: "{{ params.social_auth.twitter.client_id }}" +{% endif %} {% endif %} {% if params.website.audit_logs_exclude_path_bypass is defined %} GK_AUDIT_LOGS_EXCLUDE_PATH_BYPASS: "{{ params.website.audit_logs_exclude_path_bypass }}"