From aa54075e6b8ba2bbd5ae40fa8c35536d670c4fa0 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 3 Aug 2024 23:28:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88(helm)=20add=20separate=20namespace?= =?UTF-8?q?s=20for=20each=20environment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have set up distinct namespaces for each environment. You can now push events to the development namespace without affecting production data. Please note that these keys are not 'secret'. They will also be configured in the browser SDK, which is inherently insecure. The documentation does not specify a secure storage method for these keys. --- src/helm/env.d/dev/values.meet.yaml.gotmpl | 2 +- src/helm/env.d/production/values.meet.yaml.gotmpl | 1 + src/helm/env.d/staging/values.meet.yaml.gotmpl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helm/env.d/dev/values.meet.yaml.gotmpl b/src/helm/env.d/dev/values.meet.yaml.gotmpl index c881ff69..1c4bf58a 100644 --- a/src/helm/env.d/dev/values.meet.yaml.gotmpl +++ b/src/helm/env.d/dev/values.meet.yaml.gotmpl @@ -46,7 +46,7 @@ backend: {{- end }} {{- end }} LIVEKIT_API_URL: https://livekit.127.0.0.1.nip.io/ - + ANALYTICS_KEY: xwhoIMCZ8PBRjQ2t migrate: command: diff --git a/src/helm/env.d/production/values.meet.yaml.gotmpl b/src/helm/env.d/production/values.meet.yaml.gotmpl index 5ed5a756..6eeeb1d2 100644 --- a/src/helm/env.d/production/values.meet.yaml.gotmpl +++ b/src/helm/env.d/production/values.meet.yaml.gotmpl @@ -93,6 +93,7 @@ backend: name: backend key: LIVEKIT_API_KEY LIVEKIT_API_URL: https://livekit-preprod.beta.numerique.gouv.fr + ANALYTICS_KEY: mwuxTKi8o2xzWH54 createsuperuser: command: diff --git a/src/helm/env.d/staging/values.meet.yaml.gotmpl b/src/helm/env.d/staging/values.meet.yaml.gotmpl index a7f53102..634842a5 100644 --- a/src/helm/env.d/staging/values.meet.yaml.gotmpl +++ b/src/helm/env.d/staging/values.meet.yaml.gotmpl @@ -93,6 +93,7 @@ backend: name: backend key: LIVEKIT_API_KEY LIVEKIT_API_URL: https://livekit-preprod.beta.numerique.gouv.fr + ANALYTICS_KEY: Roi1k6IAc2DEqHB0 createsuperuser: command: