TiDB Operator 1.6.6 Release Notes
发布日期:2026 年 8 月 11 日
TiDB Operator 版本:1.6.6
新功能
- 支持为 TiDB 集群各组件的容器配置
securityContext(#6404, @fgksgf) - 支持为 TiDB 集群组件 Pod 配置
automountServiceAccountToken(#6764, @liubog2008) - 支持为
discovery组件启用 mTLS (#6781, @liubog2008) - 支持为
TidbInitializer指定serviceAccountName(#6872, @tennix) - 支持为
TidbMonitor配置automountServiceAccountToken(#6906, @tennix)
优化提升
- 支持通过
BashShebang和NoWaitDNS标志,分别控制组件启动脚本是否使用 Bash shebang,以及是否跳过 DNS 就绪检查 (#6767, @liubog2008) - 将 Helm chart 中 RBAC 规则使用的通配符资源和操作权限替换为显式配置 (#6762, @liubog2008)
- 当
automountServiceAccountToken被禁用时,支持为 BR 和discovery组件显式挂载 ServiceAccount token,便于在执行block-automount-serviceaccount-token-pod策略的限制环境(如 FedRAMP/Gatekeeper)中运行 TiDB Operator (#6815, @liubog2008) - 为
controller-manager新增 projected ServiceAccount token 卷支持,使automountServiceAccountToken被禁用时 controller-manager 仍能向 Kubernetes API 进行身份认证 (#6873, @tennix) - 在符合条件的 TiDB 升级过程中,通过调用 TiDB 平滑升级 API(
/upgrade/start和/upgrade/finish)暂停用户 DDL 操作,降低 DDL 操作对滚动升级的影响,提升升级稳定性 (#6904, @tennix) - 在
Backup和Restore状态字段中记录最近 10 次 BR 操作的 ID,便于将 Kubernetes 备份和恢复任务与 BR 侧的诊断信息及锁元数据关联 (#6954, @RidRisR)
Bug 修复
- 修复
TidbInitializerJob Pod 未按预期禁用 ServiceAccount token 自动挂载的问题,该问题会导致该 Pod 无法通过 FedRAMP/Gatekeeper 的block-automount-serviceaccount-token-pod策略检查 (#6838, @tennix) - 修复使用 GKE Workload Identity Federation 的备份和恢复任务因 TiDB Operator 引用了空的服务账号凭证文件而无法访问 Google Cloud Storage 的问题 (#6888, @Leavrth)
- 修复当 Prometheus 镜像 tag 不兼容 semver 且未配置
remote_write时,TidbMonitor调谐失败(Invalid Semantic version)的问题。此前,系统会无条件将镜像标签解析为语义化版本,尽管解析结果仅在处理remote_write配置时使用 (#7007, @time-and-fate)