Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Update default version to 0.13.0 #403

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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{
Copy link
Member

@zhujian7 zhujian7 Feb 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this means we only support n-3 versions?(0.10.0, 0.11.0, 0.12.0, 0.13.0)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, we can not support earlier version since the change on operator manifests.

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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see updated versions for any of the components (not the ones I checked). Is the 0.13.0 release in the works now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is in the progressing Operator/AddonManager have 0.13.0 already.

MulticlusterControlplane: "v0.4.0",
}

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

Expand Down
Loading