diff --git a/cmd/common.go b/cmd/common.go index 6a2d9d2c..698be6ca 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -47,9 +47,9 @@ var ( errNoURL = errors.New("RANCHER_URL environment or --Url is not set, run `login`") // ManagementResourceTypes lists the types we use the management client for ManagementResourceTypes = []string{"cluster", "node", "project"} - // ProjectResourceTypes lists the types we use the cluster client for + // ProjectResourceTypes lists the types we use the project client for ProjectResourceTypes = []string{"secret", "namespacedSecret", "workload"} - // ClusterResourceTypes lists the types we use the project client for + // ClusterResourceTypes lists the types we use the cluster client for ClusterResourceTypes = []string{"persistentVolume", "storageClass", "namespace"} formatFlag = cli.StringFlag{