feat(outline): Add local storage + persistance (#18257)
**Description** App seems to be missing persistence and there's a note for Docker to add local storage -> https://docs.getoutline.com/s/hosting/doc/file-storage-N4M0T6Ypu7 so might as well do it right ⚒️ Fixes #18245 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
parent
eac17c7bfd
commit
0c157e70f2
|
@ -10,7 +10,7 @@ apiVersion: v2
|
|||
appVersion: 0.74.0
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 17.2.30
|
||||
version: 17.3.9
|
||||
repository: oci://tccr.io/truecharts
|
||||
condition: ""
|
||||
alias: ""
|
||||
|
@ -18,7 +18,7 @@ dependencies:
|
|||
import-values: []
|
||||
- name: redis
|
||||
version: 11.1.21
|
||||
repository: https://deps.truecharts.org
|
||||
repository: oci://tccr.io/truecharts
|
||||
condition: redis.enabled
|
||||
alias: ""
|
||||
tags: []
|
||||
|
@ -41,4 +41,4 @@ sources:
|
|||
- https://github.com/truecharts/charts/tree/master/charts/stable/outline
|
||||
- https://hub.docker.com/r/outlinewiki/outline
|
||||
type: application
|
||||
version: 11.1.16
|
||||
version: 11.2.0
|
||||
|
|
|
@ -68,6 +68,24 @@ questions:
|
|||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: localstorage
|
||||
label: "Enable Local Storage + Settings"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: FILE_STORAGE
|
||||
label: "Enable Local File Storage"
|
||||
description: Set local to enable local file storage bypassing Minio or S3
|
||||
schema:
|
||||
type: string
|
||||
default: "local"
|
||||
- variable: FILE_STORAGE_MAX_UPLOAD_SIZE
|
||||
label: "Local File Storage Max Upload Size"
|
||||
schema:
|
||||
type: int
|
||||
default: "26214400"
|
||||
- variable: slackenabled
|
||||
label: "Enable Slack Settings"
|
||||
schema:
|
||||
|
@ -319,6 +337,15 @@ questions:
|
|||
# Include{serviceExpertRoot}
|
||||
# Include{serviceExpert}
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
- variable: data
|
||||
label: "App Data Storage"
|
||||
description: "Stores the Application's Data."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
- variable: main
|
||||
|
|
|
@ -75,6 +75,8 @@ workload:
|
|||
WEB_CONCURRENCY: 1
|
||||
MAXIMUM_IMPORT_SIZE: 5120000
|
||||
DEFAULT_LANGUAGE: "en_US"
|
||||
FILE_STORAGE: ""
|
||||
FILE_STORAGE_UPLOAD_MAX_SIZE: ""
|
||||
# TEAM_LOGO: ""
|
||||
# COLLABORATION_URL: ""
|
||||
# SLACK_KEY: ""
|
||||
|
@ -130,3 +132,7 @@ workload:
|
|||
secretKeyRef:
|
||||
name: secrets
|
||||
key: UTILS_SECRET
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: /var/lib/outline/data
|
||||
|
|
Loading…
Reference in New Issue