Pydantic is a great tool all around and can be used to load and validate app settings.
The problem is, that this usually results in a lot of environment variables having to be set,
which is suboptimal for kubernetes deployments. See a typical example in this configuration module pydantic_settings_version.py.
Instead we usually want to mount our configurations as secrets and configmaps and merge them all together:
configuration.yamlsecret.yaml
Unfortunately, pydantic does not offer the same partial-merging