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: update platform add command to reference the platform instead of loft #2155

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

deniseschannon
Copy link
Contributor

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

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
part of #eng-4516

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster platform add referenced loft instead of the new platform references.

What else do we need to know?

@deniseschannon deniseschannon requested a review from a team September 18, 2024 23:07
Copy link

netlify bot commented Sep 18, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

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

@deniseschannon deniseschannon added the backport-to-v0.20 backport this PR to v0.20 branch label Sep 18, 2024
@@ -70,7 +70,7 @@ vcluster platform add cluster my-cluster
},
}

c.Flags().StringVar(&cmd.Namespace, "namespace", "loft", "The namespace to generate the service account in. The namespace will be created if it does not exist")
c.Flags().StringVar(&cmd.Namespace, "namespace", "vcluster-platform", "The namespace to generate the service account in. The namespace will be created if it does not exist")
Copy link
Member

Choose a reason for hiding this comment

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

This breaks a lot of things as the Cluster Object is not updated with the namespace, I think #2147 does this better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I forgot about this when making this PR. I'll remove it from my PR and see if @zerbitx can help fix this one since I've found it.

@FabianKramm FabianKramm merged commit d788f21 into loft-sh:main Sep 19, 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 19, 2024
[v0.20] Merge pull request #2155 from deniseschannon/loft-ref
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.

3 participants