Commit Graph

4 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
a120d34f40 Update Paperless AI Helm Chart to version 0.2.0
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
Bumped the version of the Paperless AI Helm chart from 0.1.0 to 0.2.0 to
reflect the latest updates. Various templates have been modified for
improved consistency and adherence to best practices.

Notable changes include:
- Removal of unnecessary comments in `pvc.yaml` for a cleaner
  look.
- Simplification of indentation and formatting in `ingress.yaml`,
  `pvc.yaml`, and `service.yaml` to ensure correct rendering of
  Kubernetes resources.
- Fixed comments in templates to clarify their purpose while
  removing inline comments for a streamlined approach.

These changes enhance maintainability and clarity within the
Helm chart templates. No breaking changes are introduced in this
update.
2025-07-06 09:59:35 +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