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] failed to find default cluster version referencing cluster definition mongodb #5984

Closed
JashBook opened this issue Dec 4, 2023 · 1 comment · Fixed by apecloud/kubeblocks-addons#104
Assignees
Labels
bug ci kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Dec 4, 2023

Describe the bug
failed to find default cluster version referencing cluster definition mongodb.

kbcli version 
Kubernetes: v1.26.3
KubeBlocks: 0.8.0-alpha.11
kbcli: 0.8.0-alpha.11

To Reproduce
Steps to reproduce the behavior:

  1. See error
➜  ~ kbcli cluster create mongodb
error: failed to find default cluster version referencing cluster definition mongodb

Expected behavior
create mongodb success.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@JashBook JashBook added the kind/bug Something isn't working label Dec 4, 2023
@JashBook JashBook added this to the Release 0.8.0 milestone Dec 4, 2023
@ldming
Copy link
Collaborator

ldming commented Dec 7, 2023

mongodb addon missing the default CV by https://github.com/apecloud/kubeblocks-addons/pull/46/files

Should add follow annotation for default CV:

  annotations:
    kubeblocks.io/is-default-cluster-version: "true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants