Skip to main content
Version: 3.4

Command - loft share vcluster

Shares a vcluster with another loft user or team

Synopsis

loft share vcluster VCLUSTER_NAME [flags]
#########################################################
################## loft share vcluster ##################
#########################################################

Shares a vcluster with another loft user or team. The
user or team need to have access to the cluster.

Example:
loft share vcluster myvcluster
loft share vcluster myvcluster --cluster mycluster
loft share vcluster myvcluster --cluster mycluster --user admin
########################################################

Flags

      --cluster string        The cluster to use
--cluster-role string The cluster role which is assigned to the user or team for that space (default "loft-cluster-space-admin")
-h, --help help for vcluster
-p, --project string The project to use
--space string The space to use
--team string The team to share the space with. The team needs to have access to the cluster
--user string The user to share the space with. The user needs to have access to the cluster

Global & Inherited Flags

      --config string       The loft config to use (will be created if it does not exist) (default "$HOME/.loft/config.json")
--debug Prints the stack trace if an error occurs
--log-output string The log format to use. Can be either plain, raw or json (default "plain")
--silent Run in silent mode and prevents any loft log output except panics & fatals