TiDB Operator 1.6.6 Release Notes
Release date: August 11, 2026
TiDB Operator version: 1.6.6
New features
- Support configuring
securityContextfor containers of TiDB cluster components (#6404, @fgksgf) - Support configuring
automountServiceAccountTokenfor TiDB cluster component Pods (#6764, @liubog2008) - Support enabling mTLS for the
discoverycomponent (#6781, @liubog2008) - Support specifying
serviceAccountNameforTidbInitializer(#6872, @tennix) - Support configuring
automountServiceAccountTokenforTidbMonitor(#6906, @tennix)
Improvements
- Support the
BashShebangandNoWaitDNSflags to separately control whether component startup scripts use Bash shebangs and whether to skip DNS readiness checks (#6767, @liubog2008) - Replace wildcard resource and action permissions in Helm chart RBAC rules with explicit configurations (#6762, @liubog2008)
- Support explicitly mounting ServiceAccount tokens for the BR and
discoverycomponents whenautomountServiceAccountTokenis disabled. This improvement enables TiDB Operator to run in restricted environments, such as FedRAMP/Gatekeeper environments that enforce theblock-automount-serviceaccount-token-podpolicy (#6815, @liubog2008) - Add projected ServiceAccount token volume support for
controller-manager, so that controller-manager can still authenticate to the Kubernetes API whenautomountServiceAccountTokenis disabled (#6873, @tennix) - Pause user DDL operations during eligible TiDB upgrades by calling the TiDB smooth upgrade API (
/upgrade/startand/upgrade/finish), reducing the impact of DDL operations on rolling upgrades and improving upgrade stability (#6904, @tennix) - Record the IDs of the last 10 BR operations in the
BackupandRestorestatus fields, making it easier to correlate Kubernetes backup and restore tasks with BR-side diagnostics and lock metadata (#6954, @RidRisR)
Bug fixes
- Fix the issue that the
TidbInitializerJob Pod does not disable ServiceAccount token automount as expected, which causes the Pod to fail the FedRAMP/Gatekeeperblock-automount-serviceaccount-token-podpolicy check (#6838, @tennix) - Fix an issue where backup and restore jobs using GKE Workload Identity Federation could not access Google Cloud Storage because TiDB Operator referenced an empty service account credential file (#6888, @Leavrth)
- Fix the
TidbMonitorreconciliation failure (Invalid Semantic version) that occurs when the Prometheus image tag is not semver-compatible andremote_writeis not configured. Previously, the system unconditionally parsed the image tag as a semantic version, even though the parsed result is only used when processing theremote_writeconfiguration (#7007, @time-and-fate)