32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
# 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。
|