fix(paperless-ng): don't change default dir for static (#1599)

This commit is contained in:
Stavros Kois
2021-12-21 23:45:05 +02:00
committed by GitHub
parent c662e70c57
commit 2d3c09b211
2 changed files with 0 additions and 46 deletions

View File

@@ -246,48 +246,6 @@ questions:
description: "Default"
- 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."
schema:
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: consume
label: "To-be consumed Document Storage"

View File

@@ -19,7 +19,6 @@ secret:
env:
PUID: 568
PAPERLESS_DATA_DIR: "/data/"
PAPERLESS_STATICDIR: "/static/"
PAPERLESS_CONSUMPTION_DIR: "/consume/"
PAPERLESS_MEDIA_ROOT: "/media/"
USERMAP_UID: "{{ .Values.env.PUID }}"
@@ -61,9 +60,6 @@ persistence:
consume:
enabled: true
mountPath: "/consume"
static:
enabled: true
mountPath: "/static"
media:
enabled: true
mountPath: "/media"