Skip to content

[BUG]kbcli cluster configure needs to be adapted to the new API #585

@tianyue86

Description

@tianyue86

Describe the bug

Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.32
kbcli: 1.0.0-beta.15

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
kbcli cluster configure postgres-ocgaqt --auto-approve --force=true                 --set shared_buffers=512MB --components postgresql --config-spec   --namespace default `
    
error: failed to get resource[default/postgres-ocgaqt-postgresql]: [configurations.apps.kubeblocks.io "postgres-ocgaqt-postgresql" not found]

          [Error] ops command execute error 

Expected behavior
A clear and concise description of what you expected to happen.

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.

Metadata

Metadata

Labels

StalebugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions