-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: support addon index #35
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
==========================================
- Coverage 43.08% 42.89% -0.19%
==========================================
Files 221 222 +1
Lines 28071 28313 +242
==========================================
+ Hits 12093 12146 +53
- Misses 14492 14676 +184
- Partials 1486 1491 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
pkg/cmd/addon/index.go
Outdated
Use: "add", | ||
Short: "Add a new addon index", | ||
Long: "Configure a new index to install KubeBlocks addon from.", | ||
Example: "kbcli index add kubeblocks " + types.DefaultAddonIndexURL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example should be kbcli addon index add kubeblocks ...
pkg/cmd/addon/index.go
Outdated
Use: "update", | ||
Short: "update the specified index(es)", | ||
Long: "Update existed index repository from index origin URL", | ||
Example: "kbcli index update KubeBlocks", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kbcli addon index update KubeBlocks
@@ -40,6 +40,7 @@ Addon command. | |||
* [kbcli addon describe](kbcli_addon_describe.md) - Describe an addon specification. | |||
* [kbcli addon disable](kbcli_addon_disable.md) - Disable an addon. | |||
* [kbcli addon enable](kbcli_addon_enable.md) - Enable an addon. | |||
* [kbcli addon index](kbcli_addon_index.md) - Manage custom addon indexes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the kbcli_addon_index.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the
kbcli_addon_index.md
Due to the wrong usage, the user documentation was not generated automatically. I have made the adjustments.
kbcli addon index support:
kbcli addon index add kubeblocks https://github.com/apecloud/block-index.git
kbcli addon index delete kubeblocks
kbcli addon index update kubeblocks
kbcli addon index list