You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
\
The text was updated successfully, but these errors were encountered:
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.
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
\
The text was updated successfully, but these errors were encountered: