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

[BUG] KubeBocks upgrade error in ComponentResourceConstraint spec #4460

Closed
nayutah opened this issue Jul 25, 2023 · 1 comment
Closed

[BUG] KubeBocks upgrade error in ComponentResourceConstraint spec #4460

nayutah opened this issue Jul 25, 2023 · 1 comment
Assignees
Labels
bug kind/bug Something isn't working

Comments

@nayutah
Copy link
Collaborator

nayutah commented Jul 25, 2023

slc@slcmac ~ % kbcli kubeblocks upgrade --version='0.6.0-beta.14'
Current KubeBlocks version 0.6.0-alpha.32.
Kubernetes version 1.24.4+k3s1
kbcli version 0.5.0-alpha.0
Add and update repo kubeblocks OK
Upgrading KubeBlocks to 0.6.0-beta.14 FAIL
error: error validating "": error validating data: ValidationError(ComponentResourceConstraint.spec.constraints[0]): unknown field "name" in io.kubeblocks.apps.v1alpha1.ComponentResourceConstraint.spec.constraints
\

@nayutah nayutah added the kind/bug Something isn't working label Jul 25, 2023
@iziang
Copy link
Contributor

iziang commented Jul 25, 2023

This is because the ComponentResourceConstraint CRD has been updated in the new version. It's needed to delete the old CRD and objects in the environment first, and then upgrade.

@iziang iziang closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants