Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(paperless-ng): fix redis URL and use default paths #1560

Merged
merged 18 commits into from Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/stable/paperless-ng/Chart.yaml
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: paperless-ng
version: 1.0.3
version: 1.0.4
appVersion: "1.5.0"
description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents.
type: application
Expand Down
16 changes: 8 additions & 8 deletions charts/stable/paperless-ng/questions.yaml
Expand Up @@ -206,7 +206,7 @@ questions:
type: dict
attrs:
- variable: config
label: "App Config Storage"
label: "App Data Storage"
description: "This is where paperless stores all its data (search index, classification model, etc)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want to call it data, use /data instead of /config

schema:
type: dict
Expand Down Expand Up @@ -247,9 +247,9 @@ questions:
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: static
label: "App Static Storage"
description: "This is where all static files created using “collectstatic” manager command are stored."
- variable: export
label: "App Export files Storage"
description: "This is where exports are going."
Ornias1993 marked this conversation as resolved.
Show resolved Hide resolved
schema:
type: dict
attrs:
Expand Down Expand Up @@ -290,7 +290,7 @@ questions:
description: "Memory"
# Include{persistenceAdvanced}
- variable: consume
label: "App Data Storage"
label: "To-be consumed Document Storage"
description: "This where your documents should go to be consumed."
schema:
type: dict
Expand All @@ -300,7 +300,7 @@ questions:
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simpleHP"
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
Expand Down Expand Up @@ -332,7 +332,7 @@ questions:
description: "Memory"
# Include{persistenceAdvanced}
- variable: media
label: "App Media Storage"
label: "App Document Storage"
description: "This is where your documents and thumbnails are stored."
schema:
type: dict
Expand All @@ -342,7 +342,7 @@ questions:
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simpleHP"
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
Expand Down
12 changes: 4 additions & 8 deletions charts/stable/paperless-ng/values.yaml
Expand Up @@ -18,12 +18,8 @@ secret:

env:
PUID: 568
PAPERLESS_DATA_DIR: "/config/"
PAPERLESS_STATICDIR: "/static/"
PAPERLESS_CONSUMPTION_DIR: "/consume/"
PAPERLESS_MEDIA_ROOT: "/media/"
USERMAP_UID: "{{ .Values.env.PUID }}"
USERMAP_GID: "{{ .Values.env.PGID }}"
USERMAP_GID: "{{ .Values.podSecurityContext.fsGroup }}"
Ornias1993 marked this conversation as resolved.
Show resolved Hide resolved
PAPERLESS_TIME_ZONE: "{{ .Values.env.TZ }}"
PAPERLESS_DBNAME: "{{ .Values.postgresql.postgresqlDatabase }}"
PAPERLESS_DBUSER: "{{ .Values.postgresql.postgresqlUsername }}"
Expand Down Expand Up @@ -61,17 +57,17 @@ persistence:
consume:
enabled: true
mountPath: "/consume"
static:
export:
Ornias1993 marked this conversation as resolved.
Show resolved Hide resolved
enabled: true
mountPath: "/static"
mountPath: "/export"
Ornias1993 marked this conversation as resolved.
Show resolved Hide resolved
media:
enabled: true
mountPath: "/media"

redis:
enabled: true
existingSecret: "rediscreds"
redisUsername: paperless-ng
redisUsername: default

postgresql:
enabled: true
Expand Down