fix(paperless-ng): don't change default dir for static (#1599)
This commit is contained in:
@@ -246,48 +246,6 @@ questions:
|
|||||||
description: "Default"
|
description: "Default"
|
||||||
- value: "Memory"
|
- value: "Memory"
|
||||||
description: "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}
|
# Include{persistenceAdvanced}
|
||||||
- variable: consume
|
- variable: consume
|
||||||
label: "To-be consumed Document Storage"
|
label: "To-be consumed Document Storage"
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ secret:
|
|||||||
env:
|
env:
|
||||||
PUID: 568
|
PUID: 568
|
||||||
PAPERLESS_DATA_DIR: "/data/"
|
PAPERLESS_DATA_DIR: "/data/"
|
||||||
PAPERLESS_STATICDIR: "/static/"
|
|
||||||
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
||||||
PAPERLESS_MEDIA_ROOT: "/media/"
|
PAPERLESS_MEDIA_ROOT: "/media/"
|
||||||
USERMAP_UID: "{{ .Values.env.PUID }}"
|
USERMAP_UID: "{{ .Values.env.PUID }}"
|
||||||
@@ -61,9 +60,6 @@ persistence:
|
|||||||
consume:
|
consume:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/consume"
|
mountPath: "/consume"
|
||||||
static:
|
|
||||||
enabled: true
|
|
||||||
mountPath: "/static"
|
|
||||||
media:
|
media:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/media"
|
mountPath: "/media"
|
||||||
|
|||||||
Reference in New Issue
Block a user