diff --git a/changelog.d/20250127_183638_danyal.faheem_support_other_databases_through_plugin.md b/changelog.d/20250127_183638_danyal.faheem_support_other_databases_through_plugin.md new file mode 100644 index 0000000000..fa3ef48af4 --- /dev/null +++ b/changelog.d/20250127_183638_danyal.faheem_support_other_databases_through_plugin.md @@ -0,0 +1 @@ +- [Improvement] Move the openedx-auth patch to the bottom of the auth.yml file to allow patching DATABASES, EMAIL and XQUEUE options. (by @Danyal-Faheem) \ No newline at end of file diff --git a/tutor/templates/apps/openedx/config/partials/auth.yml b/tutor/templates/apps/openedx/config/partials/auth.yml index 56f2a8b94c..2abc166c35 100644 --- a/tutor/templates/apps/openedx/config/partials/auth.yml +++ b/tutor/templates/apps/openedx/config/partials/auth.yml @@ -2,7 +2,6 @@ SECRET_KEY: "{{ OPENEDX_SECRET_KEY }}" AWS_ACCESS_KEY_ID: "{{ OPENEDX_AWS_ACCESS_KEY }}" AWS_SECRET_ACCESS_KEY: "{{ OPENEDX_AWS_SECRET_ACCESS_KEY }}" DOC_STORE_CONFIG: null -{{ patch("openedx-auth") }} XQUEUE_INTERFACE: django_auth: null url: null @@ -22,3 +21,4 @@ DATABASES: {%- endif %} EMAIL_HOST_USER: "{{ SMTP_USERNAME }}" EMAIL_HOST_PASSWORD: "{{ SMTP_PASSWORD }}" +{{ patch("openedx-auth") }}