From 81f13bf53c2a516585a6e30bc12b001aaafde4ff Mon Sep 17 00:00:00 2001 From: Pao-Sheng Wang Date: Fri, 10 Jan 2025 11:40:57 +0800 Subject: [PATCH] chore: remove empty pairs file from each deployment --- deployment/kustomizations/base/cm.yaml | 6 +----- deployment/kustomizations/base/deploy-wren-ai-service.yaml | 4 ---- docker/docker-compose-dev.yaml | 2 -- docker/docker-compose.yaml | 2 -- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/deployment/kustomizations/base/cm.yaml b/deployment/kustomizations/base/cm.yaml index 6f38b3df1..a9fc26f4a 100644 --- a/deployment/kustomizations/base/cm.yaml +++ b/deployment/kustomizations/base/cm.yaml @@ -181,8 +181,4 @@ data: langfuse_host: https://cloud.langfuse.com langfuse_enable: true logging_level: DEBUG - development: false - pairs.json: | - { - "sample": [] - } + development: false \ No newline at end of file diff --git a/deployment/kustomizations/base/deploy-wren-ai-service.yaml b/deployment/kustomizations/base/deploy-wren-ai-service.yaml index 6664e98ef..928bac05b 100644 --- a/deployment/kustomizations/base/deploy-wren-ai-service.yaml +++ b/deployment/kustomizations/base/deploy-wren-ai-service.yaml @@ -63,8 +63,6 @@ spec: key: LANGFUSE_SECRET_KEY - name: CONFIG_PATH value: /app/data/config.yaml - - name: SQL_PAIRS_PATH - value: /app/data/pairs.json ports: - containerPort: 5555 volumes: @@ -74,5 +72,3 @@ spec: items: - key: config.yaml path: config.yaml - - key: pairs.json - path: pairs.json diff --git a/docker/docker-compose-dev.yaml b/docker/docker-compose-dev.yaml index e28bd005c..2faaf633e 100644 --- a/docker/docker-compose-dev.yaml +++ b/docker/docker-compose-dev.yaml @@ -45,12 +45,10 @@ services: # using PYTHONUNBUFFERED: 1 can fix this PYTHONUNBUFFERED: 1 CONFIG_PATH: /app/data/config.yaml - SQL_PAIRS_PATH: /app/data/pairs.json env_file: - ${PROJECT_DIR}/.env volumes: - ${PROJECT_DIR}/config.yaml:/app/data/config.yaml - - ${PROJECT_DIR}/pairs.json:/app/data/pairs.json networks: - wren depends_on: diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index d4e9b48f8..01a354f7d 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -56,12 +56,10 @@ services: # using PYTHONUNBUFFERED: 1 can fix this PYTHONUNBUFFERED: 1 CONFIG_PATH: /app/data/config.yaml - SQL_PAIRS_PATH: /app/data/pairs.json env_file: - ${PROJECT_DIR}/.env volumes: - ${PROJECT_DIR}/config.yaml:/app/data/config.yaml - - ${PROJECT_DIR}/pairs.json:/app/data/pairs.json networks: - wren depends_on: