Skip to content

Allow for pulling community module templates into custom namespace #2590

@kwiatekus

Description

@kwiatekus

Description

Allow users to pass namespace when pulling community module templates.

kyma module pull <name> [--namespace <target for module template>] [--version]

Warning: its a template of community module, beware, etc
(module template is saved in default namespace)

Next steps:
kyma module add <name> [--default-cr] [--origin  <namespace>/<module template name>]

The command should fetch the community module template from the remote catalog and install it in desired or default namespace

AC

  • if module template is not present in the remote catalog, return error with hint suggesting to run module catalog prior to learn what names are available
  • namespace kyma-system should be restricted for module-templates managed by kyma. Should result in validation error
  • user should be able to override the namespace when importing of community module templates
  • if no namespace is given, community module template is installed in default namespace

Reasons

Community module templates should not be mixed with commercial modules in kyma-system namespace .

Related
kyma-project/kyma#18450 (comment)
kyma-project/kyma#18450 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions