Implement command `ks registry add`
Currently users are unable to add their own registries through the CLI.
This limits them to a small subset of prototypes found in the default
incubator registry.
This commit will add the command `ks registry add`, that allows users to
add registries supporting the `github` protocol.
It will be of the form `ks registry add <registry-name> <registry-uri>
[--version]`. If a version is not specified, `latest` will be used.
Signed-off-by:
Jessica Yuen <im.jessicayuen@gmail.com>
Showing
- cmd/registry.go 61 additions, 0 deletionscmd/registry.go
- docs/cli-reference/ks_registry.md 1 addition, 0 deletionsdocs/cli-reference/ks_registry.md
- docs/cli-reference/ks_registry_add.md 59 additions, 0 deletionsdocs/cli-reference/ks_registry_add.md
- metadata/registry.go 22 additions, 24 deletionsmetadata/registry.go
- pkg/kubecfg/registry.go 44 additions, 0 deletionspkg/kubecfg/registry.go
Please register or sign in to comment