From fbc2b1a884dfbfe657074f6892b662ea6c3ed61a Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Fri, 19 Jul 2024 16:21:05 +0200 Subject: [PATCH 1/2] Use long lived token for the demo --- demo/values.tpl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/values.tpl.yaml b/demo/values.tpl.yaml index 861c9a3..12940fc 100644 --- a/demo/values.tpl.yaml +++ b/demo/values.tpl.yaml @@ -25,6 +25,8 @@ diracx: DIRACX_OTEL_ENABLED: "{{ open_telemetry }}" DIRACX_OTEL_GRPC_ENDPOINT: "diracx-demo-opentelemetry-collector:4317" DIRACX_OTEL_GRPC_INSECURE: "true" + DIRACX_SERVICE_AUTH_ACCESS_TOKEN_EXPIRE_MINUTES: "120" + DIRACX_SERVICE_AUTH_REFRESH_TOKEN_EXPIRE_MINUTES: "360" sqlDbs: dbs: AuthDB: From 2005577d547bc9b8394a8119acda55bada987fc2 Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Fri, 19 Jul 2024 19:30:36 +0200 Subject: [PATCH 2/2] Update run_demo doc with CS edition --- docs/RUN_DEMO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RUN_DEMO.md b/docs/RUN_DEMO.md index c4e108f..64217ae 100644 --- a/docs/RUN_DEMO.md +++ b/docs/RUN_DEMO.md @@ -21,7 +21,7 @@ This volume could grow very large, do not forget to clean it up regularely, as s ## DiracX configuration -The configuration yaml used by the ``diracx`` service is a mounted directory: ``diracx-charts/.demo/cs-mount``. This means that if you want to change the configuration of diracx, you can just edit and ``git commit`` this file. +The configuration yaml used by the ``diracx`` service is a mounted directory: ``diracx-charts/.demo/cs-mount``. This means that if you want to change the configuration of diracx, you can just edit ``diracx-charts/.demo/cs-mount/initRepo/default.yml`` and ``git commit`` this file. Note that the ``diracx-charts/.demo/cs-mount`` is a git repository in itself, and that's where you should go and commit. Do not attempt to commit anything under ``diracx-charts/.demo/`` in the ``diracx-charts`` repo (it is in the ``.gitignore``) ## Coverage volume