From 2d3c09b211a2de57f9de3cccf3d879dff1508e04 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:45:05 +0200 Subject: [PATCH] fix(paperless-ng): don't change default dir for static (#1599) --- charts/stable/paperless-ng/questions.yaml | 42 ----------------------- charts/stable/paperless-ng/values.yaml | 4 --- 2 files changed, 46 deletions(-) diff --git a/charts/stable/paperless-ng/questions.yaml b/charts/stable/paperless-ng/questions.yaml index d53d0b73b50..bf291427428 100644 --- a/charts/stable/paperless-ng/questions.yaml +++ b/charts/stable/paperless-ng/questions.yaml @@ -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" diff --git a/charts/stable/paperless-ng/values.yaml b/charts/stable/paperless-ng/values.yaml index 07608956081..b8035c608ed 100644 --- a/charts/stable/paperless-ng/values.yaml +++ b/charts/stable/paperless-ng/values.yaml @@ -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"