Files
ircs-prod-config/README.md
T
2026-06-15 18:10:47 +08:00

32 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ircs-prod-config
独立 GitOps 仓库,负责 IRCS V3 生产 namespace `ircs-prod` 的 Kubernetes 运行配置。
代码仓库只负责构建和推送镜像;Argo CD 不再同步后端仓库中的生产清单。所有生产配置入口都在本仓库:
- Argo CD Application`apps/`
- 生产 core 清单:`ircs-prod/core/`
- 生产 edge HTTPRoute`ircs-prod/edge-cutover/`
- 数据库迁移 Job`ircs-prod/migration/`
当前 Argo CD repoURL
```text
http://gitea-http.gitea.svc.cluster.local:3000/admin/ircs-prod-config.git
```
## 发布链路
1. 后端或前端仓库的 Gitea Actions 构建 ARM64 镜像并推送到 `registry.mnnu.eu.org/ircs`
2. Actions clone 本仓库并更新 `ircs-prod/` 中对应镜像标签。
3. Actions 将 tag 回写 commit push 到本仓库 `main`
4. Argo CD 同步本仓库中的 `ircs-prod-core``ircs-prod-edge`
5. `ircs-prod-migrator` 保留为手动同步对象,避免迁移 Job 被镜像标签变化反复触发。
## 当前域名
- `huawai.mnnu.eu.org` -> `ircs-portal-frontend:3000`
- `admin.mnnu.eu.org` -> `ircs-admin-frontend:80`
公网 TLS 由 Envoy Gateway 和基础设施处理,业务 Pod 内部不配置 TLS。