diff --git a/cmd/vclusterctl/cmd/token/create.go b/cmd/vclusterctl/cmd/token/create.go index 4bb67965cf..0c7fdc0805 100644 --- a/cmd/vclusterctl/cmd/token/create.go +++ b/cmd/vclusterctl/cmd/token/create.go @@ -63,6 +63,7 @@ Create a new node bootstrap token for a vCluster with private nodes enabled. createCmd.Flags().StringVar(&cmd.Expires, "expires", "1h", "The duration the token will be valid for. Format: 1h, 1d, 1w, 1m, 1y. If empty, the token will never expire.") createCmd.Flags().BoolVar(&cmd.Kubeadm, "kubeadm", false, "If enabled shows the raw kubeadm join command.") createCmd.Flags().BoolVar(&cmd.ControlPlane, "control-plane", false, "If set the created token will be used to join the control plane node. Mutually exclusive with --kubeadm") + return createCmd }