-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working