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.
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.
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.
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.
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.