Now that Olive supports MFE dynamic configuration, I find myself trying to convert a plugin I was using previously under Nutmeg to add specific environment variables to all MFEs.
I was using the “mfe-env-production” tutor patch that no longer exists under Olive.
What patch should I use to add a specific variable in an MFE?
How do I convert it to work with Olive?
Now that plugins/mfe/build/mfe/env/production no longer exists in Olive, I need to be able to make these variables available to all MFEs, but I fail to understand where I need to add them now…
Note that this means these configuration items will be accessible to all MFEs. This should be harmless unless there’s a collision with the names of the settings variables. In which case you would instead want to scope the variable to a specific MFE:
I was that close. I figured out it was going to be in openedx-lms-production-settings by looking at the code, but I was unsure how to proceed.
And you also read my mind because the original use of my plugin was to override the SEARCH_CATALOG_URL in a specific MFE at some point. And in that case, I don’t mind if all MFEs have the same link to our external catalog.