tidb-operator icon indicating copy to clipboard operation
tidb-operator copied to clipboard

cannot apply patch when spec.initContainers is null

Open srstack opened this issue 3 months ago • 0 comments

Updater: cannot update instances: %!w(*fmt.wrapError=&{cannot apply patch: [TiKV.core.pingcap.com](http://tikv.core.pingcap.com/) \"db-fd7a08d4-w5wp36\" is invalid: [spec.overlay.pod.spec.initContainers: Invalid value: \"null\": spec.overlay.pod.spec.initContainers in body must be of type array: \"null\", <nil>: Invalid value: \"null\": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation] 0xc0047283c0})\n"}

We deleted spec.initContainers, but it's not normal.

srstack avatar Sep 04 '25 02:09 srstack