TidbInitializerSpec

(Appears on: TidbInitializer)

TidbInitializer spec encode the desired state of tidb initializer Job

FieldDescription
image
string
cluster
TidbClusterRef
imagePullPolicy
Kubernetes core/v1.PullPolicy
(Optional)
permitHost
string
(Optional)

permitHost is the host which will only be allowed to connect to the TiDB.

initSql
string
(Optional)

InitSql is the SQL statements executed after the TiDB cluster is bootstrapped.

initSqlConfigMap
string
(Optional)

InitSqlConfigMapName reference a configmap that provide init-sql, take high precedence than initSql if set

passwordSecret
string
(Optional)
resources
Kubernetes core/v1.ResourceRequirements
(Optional)
timezone
string
(Optional)

Time zone of TiDB initializer Pods