diff --git a/pkg/cluster/spec/bindversion.go b/pkg/cluster/spec/bindversion.go index 8369faf779..0fc94bf930 100644 --- a/pkg/cluster/spec/bindversion.go +++ b/pkg/cluster/spec/bindversion.go @@ -31,7 +31,7 @@ func TiDBComponentVersion(comp, version string) string { return "v0.7.0" case ComponentCheckCollector: return "v0.3.1" - case ComponentTiSpark: + case ComponentTiSpark: // Note: change also: pkg/repository/clone_mirror.go#combineVersions return "v2.3.1" case ComponentSpark: return "v2.4.3" diff --git a/pkg/repository/clone_mirror.go b/pkg/repository/clone_mirror.go index bf9eb0bb08..352aef140b 100644 --- a/pkg/repository/clone_mirror.go +++ b/pkg/repository/clone_mirror.go @@ -405,6 +405,10 @@ func combineVersions(versions *[]string, manifest *v1manifest.Component, oss, ar return set.NewStringSet("v0.17.0") case "pushgateway": return set.NewStringSet("v0.7.0") + case "tispark": + return set.NewStringSet("v2.3.1") + case "spark": + return set.NewStringSet("v2.4.3") } result := set.NewStringSet()