diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 16:32:26 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 16:32:51 +0100 |
commit | 24f2680f2f97fb8e3d3eff829d1a41416bdd6562 (patch) | |
tree | 4f64cd96e93037fa3bfcc4c19e4bf613915db143 /yaml/backend.yaml | |
parent | d57741c8e744652c30912e89627f17f69bbf0c94 (diff) |
Move UNREALSPEECH_TOKEN to config
Diffstat (limited to 'yaml/backend.yaml')
-rw-r--r-- | yaml/backend.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
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: |