Removed hardcoded environment variables from the `common.yaml` template and
refactored them to utilize the newly structured values from `Values.controllers.main.containers.main.env`.
This change enhances maintainability and clarity by aligning environmental
variables with the current values schema. Additionally, the code was cleaned
up by ensuring proper indentation and structure for readability.
No breaking changes or significant shifts in functionality were introduced;
the refactor merely improves the organization of environment configuration.
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.
This commit removes the header that was previously included at the
beginning of the NOTES.txt file in the Paperless-NGX chart. The
header line, which referenced a common library for rendering, was
not needed for the proper function of the NOTES.txt file and
cluttered the installation message.
The main content of the file now directly congratulates users on
the successful installation of the Paperless-NGX chart and
provides instructions for accessing the application. No
functional changes to the application were introduced, and there
are no breaking changes associated with this update.
Updated the NOTES.txt template to include a congratulatory
message upon successful installation of the Paperless-NGX
chart and added a reminder to check the 'main' service for
access details.
In the values.yaml file, the structure of the environment
variables section has been modified for improved clarity
and readability. This rearrangement maintains the existing
configuration while making it easier to understand where
environment variables are defined.
No breaking changes were introduced; the functionality remains
intact.