diff --git a/components/playground/instance/tici_meta_config.go b/components/playground/instance/tici_meta_config.go index 9a60ca4bc8..4dd4d3cf8d 100644 --- a/components/playground/instance/tici_meta_config.go +++ b/components/playground/instance/tici_meta_config.go @@ -20,6 +20,12 @@ func (inst *TiCIInstance) getMetaConfig() map[string]any { tidbServers = append(tidbServers, db.DSN()) } config["tidb_server.dsns"] = tidbServers + defaultS3Config := getDefaultTiCIMetaS3Config() + config["s3.endpoint"] = defaultS3Config.Endpoint + config["s3.access_key"] = defaultS3Config.AccessKey + config["s3.secret_key"] = defaultS3Config.SecretKey + config["s3.bucket"] = defaultS3Config.Bucket + config["s3.prefix"] = defaultS3Config.Prefix return config } diff --git a/components/playground/instance/tici_worker_config.go b/components/playground/instance/tici_worker_config.go index 01b622426f..adaa638954 100644 --- a/components/playground/instance/tici_worker_config.go +++ b/components/playground/instance/tici_worker_config.go @@ -15,6 +15,12 @@ package instance func (inst *TiCIInstance) getWorkerConfig() map[string]any { config := make(map[string]any) + defaultS3Config := getDefaultTiCIMetaS3Config() + config["s3.endpoint"] = defaultS3Config.Endpoint + config["s3.access_key"] = defaultS3Config.AccessKey + config["s3.secret_key"] = defaultS3Config.SecretKey + config["s3.bucket"] = defaultS3Config.Bucket + config["s3.prefix"] = defaultS3Config.Prefix return config }