I have an app that uses schema based multi tenancy as described here:
https://quarkus.io/guides/hibernate-orm#multitenancy. The tenant name is stored in the header and the resolver can process it nicely. No OIDC yet.
Where I struggle is how to deal with configuration. The app needs to send emails out and the SMTP details are specific to tenants.
Where would I put such configs in such a way that the app only sees the config relevant to the HTTP request in scope? I though of using configmaps, but I do not see how these configs will be separated.
Thoughts?
Brand.