fix: remove optional secret key references for LLM and Siliconflow API keys in deployment configuration
Deployment Config CI / Deployment Config (push) Has been cancelled
Deployment Config CI / Deployment Config (push) Has been cancelled
This commit is contained in:
@@ -33,11 +33,10 @@ sudo k3s ctr images import images.tar
|
|||||||
- `JWT_SECRET`
|
- `JWT_SECRET`
|
||||||
- `OPS_JWT_SECRET`
|
- `OPS_JWT_SECRET`
|
||||||
- `OPS_DEFAULT_ADMIN_PASSWORD`
|
- `OPS_DEFAULT_ADMIN_PASSWORD`
|
||||||
- `LLM_API_KEY`
|
|
||||||
- `SILICONFLOW_API_KEY`
|
|
||||||
- `SCHEDULER_INTERNAL_METRICS_TOKEN`
|
- `SCHEDULER_INTERNAL_METRICS_TOKEN`
|
||||||
- `POSTGRES_PASSWORD` / `RABBITMQ_DEFAULT_PASS` / `MINIO_ROOT_*`
|
- `POSTGRES_PASSWORD` / `RABBITMQ_DEFAULT_PASS` / `MINIO_ROOT_*`
|
||||||
- `config.local.yaml` 里对应的数据库、RabbitMQ、MinIO、JWT、LLM 配置
|
- `config/config.yaml` 里的 LLM / SiliconFlow API key
|
||||||
|
- `config.local.yaml` 里对应的数据库、RabbitMQ、MinIO、JWT 配置
|
||||||
|
|
||||||
注意:`ops-api` 目前从 `deploy/k3s/config/ops-config.yaml` 读取数据库连接信息;如果改了 Postgres 密码,也同步改这个文件。
|
注意:`ops-api` 目前从 `deploy/k3s/config/ops-config.yaml` 读取数据库连接信息;如果改了 Postgres 密码,也同步改这个文件。
|
||||||
|
|
||||||
|
|||||||
@@ -45,18 +45,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: geo-rankly-app-secret
|
name: geo-rankly-app-secret
|
||||||
key: JWT_SECRET
|
key: JWT_SECRET
|
||||||
- name: LLM_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: LLM_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: SILICONFLOW_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: SILICONFLOW_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: OBJECT_STORAGE_ACCESS_KEY
|
- name: OBJECT_STORAGE_ACCESS_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -144,18 +132,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: geo-rankly-app-secret
|
name: geo-rankly-app-secret
|
||||||
key: JWT_SECRET
|
key: JWT_SECRET
|
||||||
- name: LLM_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: LLM_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: SILICONFLOW_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: SILICONFLOW_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: OBJECT_STORAGE_ACCESS_KEY
|
- name: OBJECT_STORAGE_ACCESS_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -224,18 +200,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: geo-rankly-app-secret
|
name: geo-rankly-app-secret
|
||||||
key: JWT_SECRET
|
key: JWT_SECRET
|
||||||
- name: LLM_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: LLM_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: SILICONFLOW_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: SILICONFLOW_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: OBJECT_STORAGE_ACCESS_KEY
|
- name: OBJECT_STORAGE_ACCESS_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -323,18 +287,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: geo-rankly-app-secret
|
name: geo-rankly-app-secret
|
||||||
key: JWT_SECRET
|
key: JWT_SECRET
|
||||||
- name: LLM_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: LLM_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: SILICONFLOW_API_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: geo-rankly-app-secret
|
|
||||||
key: SILICONFLOW_API_KEY
|
|
||||||
optional: true
|
|
||||||
- name: SCHEDULER_INTERNAL_METRICS_TOKEN
|
- name: SCHEDULER_INTERNAL_METRICS_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ log:
|
|||||||
llm:
|
llm:
|
||||||
provider: ark
|
provider: ark
|
||||||
base_url: https://ark.cn-beijing.volces.com/api/v3
|
base_url: https://ark.cn-beijing.volces.com/api/v3
|
||||||
# api_key is injected via LLM_API_KEY env var
|
|
||||||
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
|
api_key: "7fb6c66b-129c-4935-9617-709236c4205a"
|
||||||
model: doubao-seed-2-0-lite-260215
|
model: doubao-seed-2-0-lite-260215
|
||||||
knowledge_url_model: doubao-seed-2-0-mini-260215
|
knowledge_url_model: doubao-seed-2-0-mini-260215
|
||||||
@@ -129,7 +128,6 @@ llm:
|
|||||||
retrieval:
|
retrieval:
|
||||||
provider: siliconflow
|
provider: siliconflow
|
||||||
base_url: https://api.siliconflow.cn/v1
|
base_url: https://api.siliconflow.cn/v1
|
||||||
# api_key is injected via SILICONFLOW_API_KEY env var
|
|
||||||
api_key: "sk-dikvcafrdcbajjpfgjjephqcggpdxwxdkighllieijlehwsf"
|
api_key: "sk-dikvcafrdcbajjpfgjjephqcggpdxwxdkighllieijlehwsf"
|
||||||
embedding_model: BAAI/bge-m3
|
embedding_model: BAAI/bge-m3
|
||||||
reranker_model: BAAI/bge-reranker-v2-m3
|
reranker_model: BAAI/bge-reranker-v2-m3
|
||||||
|
|||||||
Reference in New Issue
Block a user