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] kbcli addon disable batch disable not work in 0.9.3 #583

Open
woxQAQ opened this issue Feb 25, 2025 · 0 comments
Open

[BUG] kbcli addon disable batch disable not work in 0.9.3 #583

woxQAQ opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@woxQAQ
Copy link

woxQAQ commented Feb 25, 2025

Describe the bug

kbcli addon disable support batch disable in the docs

> kbcli addon disable -h
Disable an addon.

Examples:
  # Disable "prometheus" addon
  kbcli addon disable prometheus

  # Disable addons in batch
  kbcli addon disable prometheus csi-s3

Options:
    --allow-missing-template-keys=true:
	If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to
	golang and jsonpath output formats.

    --auto-approve=false:
	Skip interactive approval before disabling addon

    --dry-run='none':
	Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without
	sending it. If server strategy, submit server-side request without persisting the resource.

    --edit=false:
	Edit the API resource

    -o, --output='':
	Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath,
	jsonpath-as-json, jsonpath-file).

    --show-managed-fields=false:
	If true, keep the managedFields when printing objects in JSON or YAML format.

    --template='':
	Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format
	is golang templates [http://golang.org/pkg/text/template/#pkg-overview].

Usage:
  kbcli addon disable ADDON_NAME [flags] [options]

Use "kbcli options" for a list of global command-line options (applies to all commands).

but when I batch disable, error occurred

> kbcli addon disable redis apecloud-mysql
error: accepts 1 arg(s), received 2

Desktop (please complete the following information):

  • OS: darwin 13.4.1
  • Version 0.9.3
@woxQAQ woxQAQ added the bug Something isn't working label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants