Commit a2ce7bd7 by Fred Smith Committed by GitHub

Merge pull request #3198 from edx/derf/DEVOPS-4424_make_Discovery_JWT_overridable

DEVOPS-4424 make Discovery JWT overridable
parents 991e0750 8a94cadf
- Role: discovery
- Course Discovery JWT configuration now takes a list of issuers instead of a single issuer. This change is not backward compatible with older versions of course discovery.
- Role: hadoop_common
- Enable log retention by default to assist with debugging. Now YARN will retain stdout and stderr logs produced by map reduce tasks for 24 hours. They can be retrieved by running "yarn logs -applicationId YOUR_APPLICATION_ID".
......
......@@ -65,6 +65,11 @@ DISCOVERY_JWT_AUDIENCE: '{{ EDXAPP_JWT_AUDIENCE | default("SET-ME-PLEASE") }}'
DISCOVERY_JWT_ISSUER: '{{ DISCOVERY_OAUTH_URL_ROOT }}'
DISCOVERY_JWT_SECRET_KEY: '{{ EDXAPP_JWT_SECRET_KEY | default("lms-secret") }}'
DISCOVERY_JWT_AUTH:
JWT_ISSUERS:
- AUDIENCE: '{{ DISCOVERY_JWT_AUDIENCE }}'
ISSUER: '{{ DISCOVERY_JWT_ISSUER }}'
SECRET_KEY: '{{ DISCOVERY_JWT_SECRET_KEY }}'
DISCOVERY_SECRET_KEY: 'Your secret key here'
DISCOVERY_TIME_ZONE: 'UTC'
......@@ -116,10 +121,7 @@ DISCOVERY_SERVICE_CONFIG:
EDX_DRF_EXTENSIONS: '{{ DISCOVERY_EDX_DRF_EXTENSIONS }}'
JWT_AUTH:
JWT_AUDIENCE: '{{ DISCOVERY_JWT_AUDIENCE }}'
JWT_ISSUER: '{{ DISCOVERY_JWT_ISSUER }}'
JWT_SECRET_KEY: '{{ DISCOVERY_JWT_SECRET_KEY }}'
JWT_AUTH: '{{ DISCOVERY_JWT_AUTH }}'
DISCOVERY_REPOS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment