patch-paperless #40

Merged
marko merged 4 commits from patch-paperless into main 2025-11-23 13:06:37 +00:00

4 Commits

Author SHA1 Message Date
070ca0e62c Update paperless-ngx chart version to 0.25.0
All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s
The version number for the paperless-ngx chart has been
downgraded from 0.25.1 to 0.25.0 in the Chart.yaml file.
This change may have been necessary due to issues or bugs
identified in the 0.25.1 release that require reverting to
a more stable version. The appVersion remains unchanged at
2.20.0, and the kubeVersion requirement is still set to
"">=1.28.0-0".

No breaking changes are introduced with this version
rollback, but users should ensure that their deployments
are compatible with the features and functionality provided
in version 0.25.0.
2025-11-23 14:06:24 +01:00
ac8181519c Refactor hardcoded environment variables in common.yaml
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.
2025-11-23 14:05:37 +01:00
5f201ba918 Refactor environment variable definitions in common.yaml
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.
2025-11-23 13:12:58 +01:00
d3a54f13b0 Refactor environment variables in deployment template
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.
2025-11-23 13:01:43 +01:00