2023-08-01 09:25:32 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/paperless-ng
|
|
|
|
pullPolicy: IfNotPresent
|
2023-08-17 00:57:15 +00:00
|
|
|
tag: v1.17.1@sha256:1e5ac17aba1c93a610ed8ab4fabf666e3d792767aceef9e65266120ac1b976b4
|
2023-08-01 09:25:32 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 8000
|
|
|
|
port: 10140
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
|
|
|
consume:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/consume"
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/media"
|
|
|
|
varrun:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
redisUsername: default
|
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: paperless-ng
|
|
|
|
database: paperless-ng
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: http
|
|
|
|
httpHeaders:
|
|
|
|
Host: localhost
|
|
|
|
startup:
|
|
|
|
type: http
|
|
|
|
httpHeaders:
|
|
|
|
Host: localhost
|
|
|
|
readiness:
|
|
|
|
type: http
|
|
|
|
httpHeaders:
|
|
|
|
Host: localhost
|
|
|
|
env:
|
|
|
|
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
PAPERLESS_DATA_DIR: "/data/"
|
|
|
|
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
|
|
|
PAPERLESS_MEDIA_ROOT: "/media/"
|
|
|
|
PAPERLESS_URL: ""
|
|
|
|
USERMAP_UID: "{{ .Values.securityContext.container.PUID }}"
|
|
|
|
USERMAP_GID: "{{ .Values.securityContext.pod.fsGroup }}"
|
|
|
|
PAPERLESS_TIME_ZONE: "{{ .Values.TZ }}"
|
|
|
|
PAPERLESS_DBNAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
PAPERLESS_DBUSER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
PAPERLESS_DBPORT: "5432"
|
|
|
|
PAPERLESS_WEBSERVER_WORKERS: 2
|
|
|
|
PAPERLESS_DBPASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
PAPERLESS_DBHOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
PAPERLESS_SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: PAPERLESS_SECRET_KEY
|
|
|
|
PAPERLESS_REDIS:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: url
|
|
|
|
PAPERLESS_ADMIN_USER: "admin"
|
|
|
|
PAPERLESS_ADMIN_PASSWORD: "admin"
|
|
|
|
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
|
|
|
|
PAPERLESS_OCR_LANGUAGE: "eng"
|
|
|
|
PAPERLESS_OCR_LANGUAGES: "eng fra deu spa ita"
|