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.
11 lines
291 B
YAML
11 lines
291 B
YAML
{{- if .Values.paperless.apiToken }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "paperless-ai.fullname" . }}
|
|
labels:
|
|
{{- include "paperless-ai.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
PAPERLESS_API_TOKEN: {{ .Values.paperless.apiToken | b64enc | quote }}
|
|
{{- end }} |