This commit refactors the environment variable definitions
in the `common.yaml` template for the Paperless-ngx chart.
The structure has been simplified by removing the unnecessary
nested "controllers: main: type: deployment" section, directly
defining the `env` block. This improves readability and
maintainability of the Helm template.
No functional changes were introduced, and existing behaviors
are preserved. The refactor aims to streamline the configuration
management process for better clarity when setting up
environment variables related to services like PostgreSQL,
MariaDB, and Redis.
The environment variables for the Paperless-NGX deployment have been
refactored and moved into the main container section within the
Kubernetes deployment manifest. This change organizes the
environment variable definitions, enhancing readability and
maintainability.
Key modifications include:
- Moved the `env` section under `containers.main`, allowing for
a clearer structure.
- Retained the logic for PostgreSQL, MariaDB, and Redis database
configuration while ensuring environment variables are set
within the context of the main application container.
This change does not introduce any breaking functionality, but
it does improve the clarity and intent of the configuration.