[chart] make maxNoteLength configurable

Signed-off-by: Mae Dartmann <mae+git_work@dartmann.net>
This commit is contained in:
Mae Dartmann 2024-04-29 16:07:41 +02:00 committed by Iceshrimp development
parent f70f61523d
commit e9fdad57d5
3 changed files with 5 additions and 1 deletions

View file

@ -31,6 +31,7 @@ A fun, new, open way to experience social media https://iceshrimp.dev
| iceshrimp.libreTranslate.apiKey | string | `""` | |
| iceshrimp.libreTranslate.apiUrl | string | `""` | |
| iceshrimp.libreTranslate.managed | bool | `false` | |
| iceshrimp.maxNoteLength | integer | `3000` | Max note length |
| iceshrimp.objectStorage.access_key | string | `""` | |
| iceshrimp.objectStorage.access_secret | string | `""` | |
| iceshrimp.objectStorage.baseUrl | string | `""` | |

View file

@ -211,7 +211,7 @@ id: 'aid'
#───┘ Other configuration └─────────────────────────────────────
# Max note length, should be < 8000.
#maxNoteLength: 3000
maxNoteLength: {{ .Values.iceshrimp.maxNoteLength | default 3000 }}
# Maximum lenght of an image caption or file comment (default 1500, max 8192)
#maxCaptionLength: 1500

View file

@ -68,6 +68,9 @@ iceshrimp:
# Number of worker processes per replica
clusterLimit: 1
# Max note length
maxNoteLength: 3000
# https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters
postgresql:
# -- disable if you want to use an existing db; in which case the values below