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

Fix: reset password namespace & start chart name #2132

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

FabianKramm
Copy link
Member

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

@FabianKramm FabianKramm added the backport-to-v0.20 backport this PR to v0.20 branch label Sep 11, 2024
Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for vcluster-docs canceled.

Name Link
🔨 Latest commit 5e71d62
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66e14692673cea00088f63b3

@FabianKramm FabianKramm merged commit 1b3c86b into loft-sh:main Sep 11, 2024
61 checks passed
@loft-bot
Copy link
Collaborator

💚 All backports created successfully

Status Branch Result
v0.20

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

FabianKramm added a commit that referenced this pull request Sep 11, 2024
[v0.20] Merge pull request #2132 from FabianKramm/main
parsedVersion, err := semver.Parse(strings.TrimPrefix(cmd.Version, "v"))
if err != nil {
return fmt.Errorf("parse provided version %s: %w", cmd.Version, err)
} else if parsedVersion.LT(semver.MustParse("4.0.0-alpha.0")) && cmd.ChartName == "vcluster-platform" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this hard-coded?

Upgraded platforms will still have loft, but only fresh installs will have vcluster-platform.

Also, users could choose any namespace name that they want.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is not about the namespace its the chart that doesn't exist prior to v4.0.0-alpha.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v0.20 backport this PR to v0.20 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants