From 2d408906b4d0563a0a21d177bc5cc1825b9a18a2 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Fri, 25 Sep 2026 04:12:04 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=85=B3=E8=81=94=20Ayatori=20Database?= =?UTF-8?q?=20PR=20#10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/postgresql-tenant-operator.md | 8 +++++--- verification.md | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/services/postgresql-tenant-operator.md b/services/postgresql-tenant-operator.md index 454522b..1e107d2 100644 --- a/services/postgresql-tenant-operator.md +++ b/services/postgresql-tenant-operator.md @@ -103,7 +103,8 @@ reconcile 核对身份后补齐,不回滚资源侧绑定。绑定不等于 Rea Delete 即为删除授权,不加第二次审批。动态凭据路径按 Database UID 确定,导入显式关联 已有凭据位置;Released 不自动改密,重新开放前由管理员处理旧访问。 对应 Ayatori `docs/database/specification.md`、`domain-model.md` 与 `api-reference.md` -已随本地提交 `7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c` 保存;尚未推送或合并。 +已推送为 [7e9e8e8](https://git.ddupan.top/panxiao81/ayatori/commit/7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c), +由 [Ayatori PR #10](https://git.ddupan.top/panxiao81/ayatori/pulls/10) 跟踪;尚未合并。 Ayatori 的 `feat/database-resource-api` 工作区已加入三资源 Go 类型、生成 CRD、Scheme 注册 与 YAML 示例,已包含在上述本地提交,尚未发布。`make test` 使用真实 API server 验证作用域、默认值、声明 @@ -114,13 +115,14 @@ Tenant UID 命名,先写资源侧绑定,再回读补齐 Tenant status;进 Bound 仍为 Ready=False,尚无供应或凭据投射。已有 finalizer 保护,但删除清理未实现: Tenant 删除保持 DeletionPending,资源和申请的 finalizer 不自动移除,不能视为可用的 Retain/Delete 生命周期或部署为业务 DBaaS。具体字段和未完成边界见 -源码 `docs/database/api-reference.md` 的“当前 API 切片”;远端 commit 链接待推送后补齐。 +源码 [API 合同](https://git.ddupan.top/panxiao81/ayatori/src/commit/7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c/docs/database/api-reference.md) +的“当前 API 切片”。 绑定代码按维护者要求分层:领域层负责纯规则,application service 协调绑定步骤和回读, Kubernetes adapter 负责 CR 映射、版本保护及 Conditions/status/finalizer 呈现,controller 只连接事件、用例与重试。service 和领域层不依赖 Kubernetes 类型,不新增通用事务或 Repository 框架;该重构不扩展上述运行能力。对应源码 `docs/database/domain-model.md` -已随上述本地提交保存,远端链接待推送后补齐。 +已随上述提交保存,见 [领域模型](https://git.ddupan.top/panxiao81/ayatori/src/commit/7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c/docs/database/domain-model.md)。 本轮依据为维护者设计讨论和 Ayatori 已推送的 [ADR-0009](https://git.ddupan.top/panxiao81/ayatori/src/commit/6db8a495fb9f8981d336c9e6288253628ab478b6/docs/decisions/0009-database-resource-and-claim.md)、 diff --git a/verification.md b/verification.md index 27c414b..ca70fe5 100644 --- a/verification.md +++ b/verification.md @@ -86,10 +86,12 @@ wiki 权威摘要:[DBaaS 设计](services/postgresql-tenant-operator.md#当前 删除前策略可改与 Database UID 凭据定位的决定已同步到 [DBaaS 设计](services/postgresql-tenant-operator.md#当前资源模型2026-09-24-已确认)。 依据维护者当日确认;Ayatori 已提交为 `7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c`, -wiki 随本记录提交同步。两仓库尚未推送,远端 commit/PR 来源链接待补齐。 +源码已推送至 [Ayatori PR #10](https://git.ddupan.top/panxiao81/ayatori/pulls/10), +wiki 随本记录同步至 [wiki PR #3](https://git.ddupan.top/panxiao81/homelab-wiki/pulls/3)。 +关联源码:[7e9e8e8](https://git.ddupan.top/panxiao81/ayatori/commit/7e9e8e828bfcbdc8d4e2fcb6bc3d13727712a82c)。 这只是第一版 API 范围确认,不表示新资源链路已实现。 后续 `feat/database-resource-api` 工作区已实现三资源 schema 与真实 API server 校验, -本地 `make test` 通过;实现已包含在上述本地提交,正式远端来源待推送。已接入绑定 +本地 `make test` 通过;实现已包含在上述提交,远端 CI 结果以 PR 为准。已接入绑定 controller、目标固定、finalizer 保留与生成 RBAC,真实 API server 验证并发、补写及 watch。 尚未实现 finalizer 清理、供应与交付,不宣称完成三资源生命周期或现场验收。