chore(paperless-ng): Update sources to ngx, add option, keep trash persistent (#2135)

This commit is contained in:
Stavros Kois 2022-03-12 07:56:55 +02:00 committed by GitHub
parent 20f88e36d8
commit 2cbd3a1035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 4 deletions

View File

@ -1,9 +1,9 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: paperless-ng
version: 2.0.4
version: 2.0.5
appVersion: "1.5.0"
description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents.
description: Paperless-ngx is an application by Daniel Quinn and contributors that indexes your scanned documents.
type: application
deprecated: false
home: https://github.com/truecharts/apps/tree/master/charts/stable/paperless-ng
@ -11,7 +11,8 @@ icon: https://truecharts.org/_static/img/appicons/paperless-ng.png
keywords:
- paperless-ng
sources:
- https://hub.docker.com/r/linuxserver/paperless-ng
- https://github.com/paperless-ngx/paperless-ngx
- https://paperless-ngx.readthedocs.io/en/latest/
dependencies:
- name: common
repository: https://truecharts.org
@ -30,6 +31,6 @@ maintainers:
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- incubator
- productivity
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -100,6 +100,20 @@ questions:
schema:
type: string
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: PAPERLESS_WEBSERVER_WORKERS
label: "PAPERLESS_WEBSERVER_WORKERS"
description: "The number of worker processes the webserver should spawn."
schema:
type: int
required: true
default: 2
# Include{containerConfig}
- variable: service

View File

@ -17,7 +17,9 @@ secret:
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
env:
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
PAPERLESS_DATA_DIR: "/data/"
PAPERLESS_TRASH_DIR: "/data/trash/"
PAPERLESS_CONSUMPTION_DIR: "/consume/"
PAPERLESS_MEDIA_ROOT: "/media/"
USERMAP_UID: "{{ .Values.security.PUID }}"
@ -26,6 +28,7 @@ env:
PAPERLESS_DBNAME: "{{ .Values.postgresql.postgresqlDatabase }}"
PAPERLESS_DBUSER: "{{ .Values.postgresql.postgresqlUsername }}"
PAPERLESS_DBPORT: "5432"
PAPERLESS_WEBSERVER_WORKERS: 2
envValueFrom:
PAPERLESS_DBPASS: