From ba633580982f72eb016392fd8b80de0ce05810d1 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 13 Dec 2024 12:28:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(backend)=20configure=20conversion?= =?UTF-8?q?=20microservice=20in=20dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update helm values to configure the conversion microservice while creating document server to server. --- src/helm/env.d/dev/values.impress.yaml.gotmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helm/env.d/dev/values.impress.yaml.gotmpl b/src/helm/env.d/dev/values.impress.yaml.gotmpl index fd049cb7..650122da 100644 --- a/src/helm/env.d/dev/values.impress.yaml.gotmpl +++ b/src/helm/env.d/dev/values.impress.yaml.gotmpl @@ -11,6 +11,7 @@ backend: DJANGO_CSRF_TRUSTED_ORIGINS: https://impress.127.0.0.1.nip.io DJANGO_CONFIGURATION: Feature DJANGO_ALLOWED_HOSTS: impress.127.0.0.1.nip.io + DJANGO_SERVER_TO_SERVER_API_TOKENS: secret-api-key DJANGO_SECRET_KEY: {{ .Values.djangoSecretKey }} DJANGO_SETTINGS_MODULE: impress.settings DJANGO_SUPERUSER_PASSWORD: admin @@ -50,6 +51,8 @@ backend: AWS_S3_SECRET_ACCESS_KEY: password AWS_STORAGE_BUCKET_NAME: impress-media-storage STORAGES_STATICFILES_BACKEND: django.contrib.staticfiles.storage.StaticFilesStorage + CONVERSION_API_URL: http://impress-y-provider:443/api/convert-markdown/ + CONVERSION_API_KEY: my-secret migrate: command: