From 600b8b5d3b45e9680ea95a41ea961593bb0b671c Mon Sep 17 00:00:00 2001 From: bp99 Date: Tue, 29 Jul 2025 19:49:18 +0200 Subject: [PATCH] added realtime options --- charts/donetick/Chart.yaml | 6 +++--- charts/donetick/templates/configmap.yaml | 3 ++- charts/donetick/values.yaml | 20 ++++++++++++++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/charts/donetick/Chart.yaml b/charts/donetick/Chart.yaml index 48c5bab..6ac0008 100644 --- a/charts/donetick/Chart.yaml +++ b/charts/donetick/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: donetick description: Donetick helm chart for Kubernetes type: application -version: 1.0.1 -appVersion: "v0.1.38" +version: 1.0.2 +appVersion: "v0.1.53" maintainers: - name: Richard Tomik email: no@m.com @@ -13,4 +13,4 @@ keywords: - donetick home: https://github.com/rtomik/helm-charts sources: - - https://github.com/donetick/donetick \ No newline at end of file + - https://github.com/donetick/donetick diff --git a/charts/donetick/templates/configmap.yaml b/charts/donetick/templates/configmap.yaml index bf6257c..ab6c799 100644 --- a/charts/donetick/templates/configmap.yaml +++ b/charts/donetick/templates/configmap.yaml @@ -74,4 +74,5 @@ data: token_url: {{ .Values.config.oauth2.token_url | default "" | quote }} user_info_url: {{ .Values.config.oauth2.user_info_url | default "" | quote }} redirect_url: {{ .Values.config.oauth2.redirect_url | default "" | quote }} - name: {{ .Values.config.oauth2.name | default "" | quote }} \ No newline at end of file + name: {{ .Values.config.oauth2.name | default "" | quote }} + realtime: {{ .Values.config.realtime | toYaml | nindent 6 }} diff --git a/charts/donetick/values.yaml b/charts/donetick/values.yaml index 88234d7..2bcee64 100644 --- a/charts/donetick/values.yaml +++ b/charts/donetick/values.yaml @@ -5,7 +5,7 @@ fullnameOverride: "" ## Image settings image: repository: donetick/donetick - tag: "v0.1.38" + tag: "v0.1.53" pullPolicy: IfNotPresent ## Deployment settings @@ -207,4 +207,20 @@ config: token_url: "" user_info_url: "" redirect_url: "" - name: "" \ No newline at end of file + name: "" + + # Real-time configuration + realtime: + enabled: true + sse_enabled: true + heartbeat_interval: 60s + connection_timeout: 120s + max_connections: 1000 + max_connections_per_user: 5 + event_queue_size: 2048 + cleanup_interval: 2m + stale_threshold: 5m + enable_compression: true + enable_stats: true + allowed_origins: + - "*"