diff --git a/internal/cmd/alpha/module/add.go b/internal/cmd/alpha/module/add.go index 148935342..fd0db370e 100644 --- a/internal/cmd/alpha/module/add.go +++ b/internal/cmd/alpha/module/add.go @@ -34,7 +34,7 @@ func newAddCMD(kymaConfig *cmdcommon.KymaConfig) *cobra.Command { }, } - cmd.Flags().StringVar(&cfg.channel, "channel", "", "Name of the Kyma channel to use for the module") + cmd.Flags().StringVarP(&cfg.channel, "channel", "c", "", "Name of the Kyma channel to use for the module") cmd.Flags().StringVar(&cfg.crPath, "cr-path", "", "Path to the custom resource file") cmd.Flags().BoolVar(&cfg.defaultCR, "default-cr", false, "Use this flag to deploy module with default cr") diff --git a/internal/registry/config.go b/internal/registry/config.go index 83596879d..7db47cf2c 100644 --- a/internal/registry/config.go +++ b/internal/registry/config.go @@ -32,7 +32,7 @@ func GetExternalConfig(ctx context.Context, client kube.Client) (*ExternalRegist return nil, clierror.Wrap(err, clierror.New("failed to get external registry configuration", "make sure cluster is available and properly configured", - "enable docker registry module by calling `kyma alpha module enable docker-registry -c experimental`", + "enable docker registry module by calling `kyma alpha module enable docker-registry -c experimental --default-cr`", ), ) } @@ -46,7 +46,7 @@ func GetInternalConfig(ctx context.Context, client kube.Client) (*InternalRegist return nil, clierror.Wrap(err, clierror.New("failed to load in-cluster registry configuration", "make sure cluster is available and properly configured", - "enable docker registry module by calling `kyma alpha module enable docker-registry -c experimental`", + "enable docker registry module by calling `kyma alpha module enable docker-registry -c experimental --default-cr`", ), ) }