Commit Graph

5 Commits

Author SHA1 Message Date
f9df49ddd1 Add support for Paperless AI API token and environment variables
All checks were successful
Build Helm Chart / helm-package (push) Successful in 3s
This commit introduces several significant changes to the Paperless AI
Helm chart:

- Updated the version from 0.5.0 to 0.6.0 in `Chart.yaml` to reflect
  the new additions.
- Added a new template `paperlessApiSecret.yaml` to define a Kubernetes
  Secret for the Paperless API token. This allows secure storage of the
  API token, which is now a required value for communication with the
  Paperless application.
- Introduced a new function in `_helpers.tpl` called `generateEnv`
  that dynamically generates a `.env` file from various configuration
  values in `values.yaml`. This includes settings for the Paperless API
  URL, AI provider, tagging options, scanning intervals, and more.
- Updated `values.yaml` to include necessary configurations for the
  Paperless API, OpenAI, and other related settings, making it easier
  for users to configure the chart per their requirements.
- Adjusted resource limits and initial probe delays for improved
  performance and quicker health checks.

These enhancements provide better configurability and facilitate
secure management of sensitive credentials, thereby improving user
experience and application reliability.
2025-07-06 19:39:58 +02:00
601bde7463 Update Paperless AI chart version and environment settings
All checks were successful
Build Helm Chart / helm-package (push) Successful in 3s
This commit updates the version of the Paperless AI Helm chart from
0.4.0 to 0.5.0 to reflect new changes and improvements. The PUID
and PGID environment variables have been changed from 1027 and 100
to 1000 and 2000, respectively, to better accommodate user and
group permissions.

Additionally, the resource requests and limits have been adjusted
to specify CPU and memory requirements (100m CPU and 128Mi memory),
ensuring that the container operates within defined resource
constraints. This change enhances performance and stability, making
the chart more suitable for various deployment environments.

No breaking changes were introduced, but users should verify their
permissions align with the new PUID and PGID settings.
2025-07-06 18:15:10 +02:00
ef155f7733 Update Paperless AI Helm chart version and configuration
Some checks failed
Build Helm Chart / helm-package (push) Failing after 3s
Updated the Paperless AI Helm chart to version 0.3.0 to reflect
the latest changes and improvements. Modified the deployment.yaml
by adding liveness and readiness probes, which enhance the
resilience and monitoring of the application by checking its
availability and readiness to serve traffic.

Additionally, adjusted the values.yaml file to set the service
account creation to false and commented out the PUID and PGID
environment variables for increased flexibility and to avoid
potential permission issues during deployment. Note that the
securityContext settings for the Pod and Container have also
been changed to disable the pod's user/group settings, which
may affect how the application interacts with resources.
2025-07-06 17:32:25 +02:00
ba732eb734 Refactor paperless-ai Helm chart for improved configuration
Some checks failed
Build Helm Chart / helm-package (push) Failing after 3s
This update substantially refactors the paperless-ai Helm chart.
Key changes include:

- Complete removal of outdated files: `.helmignore`, `LICENSE`,
  `README.adoc`, and several template files like `configfileConfigmap.yaml`,
  `configmap.yaml`, `dataPvc.yaml`, `envfileSecret.yaml`,
  `openAiApiSecret.yaml`, `paperlessApiSecret.yaml`, and others.

- Introduction of a new Persistent Volume Claim configuration in
  `pvc.yaml` to simplify storage management.

- Significant updates to `Chart.yaml` for better metadata, including
  a new maintainer and project description in German.

- Enhancements to the main deployment template in `deployment.yaml`,
  focusing on clarity and proper utilization of Kubernetes security
  contexts, environment variables, and container properties.

- Updated service definitions in `service.yaml` with better labels
  and service properties.

- Refined the `ingress.yaml` to improve external service access
  management, including annotations for potential customization.

These changes were implemented to modernize the Helm chart based on
the current best practices, improve user experience, and set a
foundation for future enhancements. There are no breaking changes to
the existing user configurations.
2025-07-06 09:02:17 +02:00
f3fbaf942e refactor: move Helm chart to standard directory structure
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
This commit restructures the paperless-ai Helm chart by moving all files
 from the nested directory (charts/paperless-ai/paperless-ai/) to the
 standard Helm chart directory structure (charts/paperless-ai/). The change
 eliminates the redundant directory nesting that was causing issues with
 Helm chart packaging and installation. No functional changes were made to
 any files - this is purely a directory structure reorganization to follow
 Helm best practices and improve chart maintainability.
2025-06-27 08:43:57 +02:00