Skip to content

Exclude community module template creation from the kyma module add #2595

@kwiatekus

Description

@kwiatekus

Description
Exclude community module template creation from the kyma module add in favor of kyma module pull

kyma module add <name> [--default-cr] [--origin  kyma]  [--channel]
kyma module add <name> [--default-cr] [--origin  namespace/<module template name>]

Warning:  installing module that will be not managed by kyma, beware, etc
  • if no value is provided for the --origin flag, CLI will lookup the module template in kyma-system and install managed module
  • selected module template is used to install module in the module's desired namespace, according to raw manifests and Module CR target namespace
  • In case community module template is not to be found locally, return error with hint that suggests to pull community module first
  • if user uses --origin=community show error, that he needs to pull it first
  • if user passes --origin kyma-system/ CLI should return error with hint not to use -origin flag in case of managed modules
  • if --community flag is used , show error that its not supported and community module template needs to be pulled first

Reasons
#2590
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