2021-12-12 22:27:04 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/paperless-ng
|
|
|
|
pullPolicy: IfNotPresent
|
2022-05-13 07:35:54 +00:00
|
|
|
tag: v1.7.1@sha256:3cf778235059abdebd321bc886dff741355d1698b38f6da5c6519f2afe375bea
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
2021-12-17 13:55:06 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-12-17 22:05:07 +00:00
|
|
|
secret:
|
|
|
|
PAPERLESS_ADMIN_USER: "admin"
|
|
|
|
PAPERLESS_ADMIN_PASSWORD: "admin"
|
|
|
|
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
|
|
|
|
|
2021-12-12 22:27:04 +00:00
|
|
|
env:
|
2022-03-12 05:56:55 +00:00
|
|
|
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
|
2021-12-20 16:42:50 +00:00
|
|
|
PAPERLESS_DATA_DIR: "/data/"
|
2021-12-17 22:05:07 +00:00
|
|
|
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
|
|
|
PAPERLESS_MEDIA_ROOT: "/media/"
|
2022-03-03 14:04:31 +00:00
|
|
|
USERMAP_UID: "{{ .Values.security.PUID }}"
|
2021-12-20 16:42:50 +00:00
|
|
|
USERMAP_GID: "{{ .Values.podSecurityContext.fsGroup }}"
|
2022-03-06 19:08:58 +00:00
|
|
|
PAPERLESS_TIME_ZONE: "{{ .Values.TZ }}"
|
2021-12-17 22:05:07 +00:00
|
|
|
PAPERLESS_DBNAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
PAPERLESS_DBUSER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
PAPERLESS_DBPORT: "5432"
|
2022-03-12 05:56:55 +00:00
|
|
|
PAPERLESS_WEBSERVER_WORKERS: 2
|
2021-12-17 22:05:07 +00:00
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
PAPERLESS_DBPASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
PAPERLESS_DBHOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
PAPERLESS_SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: paperlessng-secrets
|
|
|
|
key: PAPERLESS_SECRET_KEY
|
|
|
|
PAPERLESS_REDIS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: url
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 8000
|
|
|
|
port: 10140
|
|
|
|
|
|
|
|
persistence:
|
2021-12-20 16:42:50 +00:00
|
|
|
data:
|
2021-12-12 22:27:04 +00:00
|
|
|
enabled: true
|
2021-12-20 16:42:50 +00:00
|
|
|
mountPath: "/data"
|
2021-12-17 22:05:07 +00:00
|
|
|
consume:
|
2021-12-17 13:55:06 +00:00
|
|
|
enabled: true
|
2021-12-17 22:05:07 +00:00
|
|
|
mountPath: "/consume"
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/media"
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
2021-12-20 16:42:50 +00:00
|
|
|
redisUsername: default
|
2021-12-17 22:05:07 +00:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: paperless-ng
|
|
|
|
postgresqlDatabase: paperless-ng
|