Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Add new config options in helm chart (#147)

Hakan Shehu78dbe71c0fb2
diff --git a/hosting/kubernetes/chart/templates/_helpers.tpl b/hosting/kubernetes/chart/templates/_helpers.tpl
index 9de91ddb..170a059d 100644
--- a/hosting/kubernetes/chart/templates/_helpers.tpl
+++ b/hosting/kubernetes/chart/templates/_helpers.tpl
@@ -134,6 +134,12 @@ Colanode Server Environment Variables
- name: SERVER_MODE
value: {{ .Values.colanode.config.SERVER_MODE | quote }}
+# ───────────────────────────────────────────────────────────────
+# Logging Configuration
+# ───────────────────────────────────────────────────────────────
+- name: LOGGING_LEVEL
+ value: {{ .Values.colanode.config.LOGGING_LEVEL | quote }}
+
# ───────────────────────────────────────────────────────────────
# Account Configuration
# ───────────────────────────────────────────────────────────────
@@ -144,6 +150,14 @@ Colanode Server Environment Variables
- name: ACCOUNT_ALLOW_GOOGLE_LOGIN
value: {{ .Values.colanode.config.ACCOUNT_ALLOW_GOOGLE_LOGIN | quote }}
+# ───────────────────────────────────────────────────────────────
+# Workspace Configuration
+# ───────────────────────────────────────────────────────────────
+- name: WORKSPACE_STORAGE_LIMIT
+ value: {{ .Values.colanode.config.WORKSPACE_STORAGE_LIMIT | quote }}
+- name: WORKSPACE_MAX_FILE_SIZE
+ value: {{ .Values.colanode.config.WORKSPACE_MAX_FILE_SIZE | quote }}
+
# ───────────────────────────────────────────────────────────────
# User Configuration
# ───────────────────────────────────────────────────────────────
diff --git a/hosting/kubernetes/chart/values.yaml b/hosting/kubernetes/chart/values.yaml
index c59bce99..d3458566 100644
--- a/hosting/kubernetes/chart/values.yaml
+++ b/hosting/kubernetes/chart/values.yaml
@@ -80,14 +80,20 @@ colanode:
SERVER_AVATAR: ''
SERVER_MODE: 'standalone'
- # Debug logging (uncomment to enable verbose logs)
- DEBUG: 'colanode:*'
+ # Logging Config
+ # Possible values: 'trace', 'debug', 'info', 'warn', 'error', 'fatal', 'silent'
+ # Defalt is 'info'
+ # LOGGING_LEVEL=info
# Account settings
ACCOUNT_VERIFICATION_TYPE: 'automatic'
ACCOUNT_OTP_TIMEOUT: '600' # in seconds
ACCOUNT_ALLOW_GOOGLE_LOGIN: 'false'
+ # Workspace limits. Leave empty for no limits
+ # WORKSPACE_STORAGE_LIMIT: '10737418240' # 10 GB
+ # WORKSPACE_MAX_FILE_SIZE: '104857600' # 100 MB
+
# User limits
USER_STORAGE_LIMIT: '10737418240' # 10 GB
USER_MAX_FILE_SIZE: '104857600' # 100 MB