Skip to content

Commit

Permalink
Update default version to 0.13.0 (open-cluster-management-io#403)
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <[email protected]>
  • Loading branch information
qiujian16 authored Mar 7, 2024
1 parent 393f050 commit bb97f15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 62 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.7.2
v0.8.0
73 changes: 12 additions & 61 deletions pkg/helpers/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type VersionBundle struct {
MulticlusterControlplane string
}

var defaultBundleVersion = "0.12.0"
var defaultBundleVersion = "0.13.0"

func GetDefaultBundleVersion() string {
return defaultBundleVersion
Expand All @@ -44,66 +44,6 @@ func GetVersionBundle(version string) (VersionBundle, error) {

// predefined bundle version
// TODO: automated version tracking
versionBundleList["0.5.0"] = VersionBundle{
Registration: "v0.5.0",
Placement: "v0.2.0",
Work: "v0.5.0",
Operator: "v0.5.0",
AppAddon: "v0.5.0",
PolicyAddon: "v0.8.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.6.0"] = VersionBundle{
Registration: "v0.6.0",
Placement: "v0.3.0",
Work: "v0.6.0",
Operator: "v0.6.0",
AppAddon: "v0.6.0",
PolicyAddon: "v0.8.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.7.0"] = VersionBundle{
Registration: "v0.7.0",
Placement: "v0.4.0",
Work: "v0.7.0",
Operator: "v0.7.0",
AppAddon: "v0.7.0",
PolicyAddon: "v0.8.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.8.0"] = VersionBundle{
Registration: "v0.8.0",
Placement: "v0.8.0",
Work: "v0.8.0",
Operator: "v0.8.0",
AppAddon: "v0.8.0",
PolicyAddon: "v0.8.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.9.0"] = VersionBundle{
Registration: "v0.9.0",
Placement: "v0.9.0",
Work: "v0.9.0",
Operator: "v0.9.0",
AppAddon: "v0.9.0",
PolicyAddon: "v0.9.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.9.1"] = VersionBundle{
Registration: "v0.9.0",
Placement: "v0.9.0",
Work: "v0.9.0",
Operator: "v0.9.1",
AppAddon: "v0.9.0",
PolicyAddon: "v0.9.0",
MulticlusterControlplane: "v0.1.0",
}

versionBundleList["0.10.0"] = VersionBundle{
Registration: "v0.10.0",
Placement: "v0.10.0",
Expand Down Expand Up @@ -136,6 +76,17 @@ func GetVersionBundle(version string) (VersionBundle, error) {
MulticlusterControlplane: "v0.3.0",
}

versionBundleList["0.13.0"] = VersionBundle{
Registration: "v0.13.0",
Placement: "v0.13.0",
Work: "v0.13.0",
Operator: "v0.13.0",
AddonManager: "v0.13.0",
AppAddon: "v0.13.0",
PolicyAddon: "v0.13.0",
MulticlusterControlplane: "v0.4.0",
}

// default
versionBundleList["default"] = versionBundleList[defaultBundleVersion]

Expand Down

0 comments on commit bb97f15

Please sign in to comment.