From 24f2680f2f97fb8e3d3eff829d1a41416bdd6562 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 17 Jan 2025 16:32:26 +0100 Subject: Move UNREALSPEECH_TOKEN to config --- yaml/backend.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'yaml') diff --git a/yaml/backend.yaml b/yaml/backend.yaml index 9967ddb..ba3ea05 100644 --- a/yaml/backend.yaml +++ b/yaml/backend.yaml @@ -7,6 +7,7 @@ data: DATABASE_URL: "postgres://postgres:password@postgres-service:5432/gis" ALLOWED_HOST: "0.0.0.0:8000" AUDIO_PATH: "./assets" + UNREALSPEECH_TOKEN: ${UNREALSPEECH_TOKEN} --- apiVersion: v1 kind: Secret @@ -16,7 +17,6 @@ type: Opaque data: JWT_SECRET: ${JWT_SECRET} EXPO_ACCESS_TOKEN: ${EXPO_ACCESS_TOKEN} - UNREALSPEECH_TOKEN: ${UNREALSPEECH_TOKEN} --- apiVersion: apps/v1 kind: Deployment @@ -75,8 +75,8 @@ spec: key: EXPO_ACCESS_TOKEN - name: UNREALSPEECH_TOKEN valueFrom: - secretKeyRef: - name: cas-backend-secret + configMapKeyRef: + name: cas-backend-config key: UNREALSPEECH_TOKEN - name: ALLOWED_HOST valueFrom: -- cgit v1.2.3-18-g5258