2021-12-12 22:27:04 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/paperless-ng
|
|
|
|
pullPolicy: IfNotPresent
|
2021-12-19 15:27:53 +00:00
|
|
|
tag: v1.5.0@sha256:94b00a3fb7e829a6a86d8bfd01abd558d20286976501716b6148a504e6544e3a
|
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:
|
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"
|
|
|
|
|
|
|
|
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
|