Skip to content

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

Description

@woxQAQ

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

StalebugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions