chore(k8s): 适配生产部署

- ingress 只暴露 /api(前端静态文件由外部 Caddy 托管)
- deployment 填入正式域名 blog.zhaoxi.net.cn
- 真实 secret 移出 git 跟踪,改用 secret.example.yaml 模板
This commit is contained in:
2026-07-18 21:45:11 +08:00
parent bfc83a2400
commit 0efb2bffbd
6 changed files with 27 additions and 24 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ spec:
name: backend-secret
key: github-admin-id
- name: APP_URL
value: "https://your-domain.com"
value: "https://blog.zhaoxi.net.cn"
- name: FRONTEND_URL
value: "https://your-domain.com"
value: "https://blog.zhaoxi.net.cn"
# MOCK_OAUTH 生产环境绝不开启,缺省即关闭
- name: S3_ENDPOINT
valueFrom: