Skip to content

Rework community module interface #2734

@pPrecel

Description

@pPrecel

The module add command supports passing a community module location using the --origin flag, but still requires an argument that is ignored in this flow. Additionally, module delete doesn't implement the --origin login and still requires the --community flag to remove such a module:

$ ./bin/kyma module delete registry-proxy
Are you sure you want to delete module registry-proxy?
Before you delete the registry-proxy module, make sure the module resources are no longer needed. This action also permanently removes the namespaces, service instances, and service bindings created by the module.
Are you sure you want to continue? [y/N]: y
Error:
  failed to get ModuleTemplate CR for module

Error Details:
  can't find neither ModuleReleaseMeta CR/CRD nor ModuleTemplate CR for module  in channel

TODO

  • Rework the module add command to accept passing the community module location through an argument
  • Rework the module delete interface to look similar to module add

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions