Modifying ALLOWED_HOSTS

Can a plugin modify the values in production.py? I’m new to patching and I don’t see any examples of plugins changing py files yet, only json/yml values. I’ve been setting this value in the configmap after each deployment but that is definitely cumbersome, and the sites I add don’t have proper SSL support. I’m trying to write a plugin to patch caddy, and nginx to do this, I just need a tip on how to also patch the ALLOWED_HOSTS value?

I found it - patching openedx-lms-production-settings seems to let me add / overwrite a value - testing now.

this combined with patching caddy and nginx allows me to have nice proper ssl support for extra sites. I was able to do it with 1 yml file in the plugin. nice!