From b501a5e2d8736e56a0d8f150a476fc3e6c126743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikke=20Schir=C3=A9n?= Date: Fri, 25 Aug 2023 14:32:24 +0200 Subject: [PATCH] start to work with documentation and config for using websocket --- charts/directus/Chart.yaml | 2 +- charts/directus/README.md | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/charts/directus/Chart.yaml b/charts/directus/Chart.yaml index 5901233..51071ec 100644 --- a/charts/directus/Chart.yaml +++ b/charts/directus/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.7.22 +version: 0.7.23 # This is the version number of the application being deployed. They should reflect the version # the application is using. diff --git a/charts/directus/README.md b/charts/directus/README.md index e515ce9..9cf18ee 100644 --- a/charts/directus/README.md +++ b/charts/directus/README.md @@ -9,7 +9,7 @@ This Helm chart installs [Directus](https://directus.io/), a real-time API, and ## Un-official -Please note, this is an un-official Helm chart from Digitalist. +Please note, this is an un-official Helm chart from [Digitalist](https://www.digitalist.se/). ## License @@ -21,6 +21,20 @@ We strive to make the installation of Directus as easy as possible, but there ar We recommend that you either override the default values file from the repository or set your keys using `--set`. +### Websockets + +If you are using websockets with Directus, and using ingress-nginx, websockets are supported by default. But you should set these annotations (if you are not doing it in [config](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#proxy-read-timeout)), otherwise, connection will be closed after default time, 60 seconds, which is not what you want if you are using websockets. Recommended is to set timeouts to at least on hour (3600 seconds). + +```yaml +ingress: + enabled: true + annotations: + nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" + nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" +``` + +If you are using another type of ingress, please refer to that ingress documentation for setup. + ### File storage By default, no persistance storage is set, in general, you are recommended to use [External File Storage](README.md#external-file-storage).