Skip to content

Commit 4706db2

Browse files
fix: missing netstat (#3567) (#3569)
* fix: missing netstat * refactor: make sure docker driver is mentioned (cherry picked from commit eb43786) Co-authored-by: Fabian Kramm <fab.kramm@googlemail.com>
1 parent c606631 commit 4706db2

File tree

13 files changed

+52
-29
lines changed

13 files changed

+52
-29
lines changed

cmd/vclusterctl/cmd/connect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ vcluster connect test -n test -- kubectl get ns
6565
return cmd.Run(cobraCmd.Context(), args)
6666
}
6767

68-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm or platform.")
68+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm, platform, or docker.")
6969

7070
connect.AddCommonFlags(cobraCmd, &cmd.ConnectOptions)
7171
connect.AddPlatformFlags(cobraCmd, &cmd.ConnectOptions, "[PLATFORM] ")

cmd/vclusterctl/cmd/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ vcluster create test --namespace test
6464
},
6565
}
6666

67-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm or platform.")
67+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm, platform, or docker.")
6868

6969
create.AddCommonFlags(cobraCmd, &cmd.CreateOptions)
7070
create.AddHelmFlags(cobraCmd, &cmd.CreateOptions)

cmd/vclusterctl/cmd/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ vcluster delete test --namespace test
5151
},
5252
}
5353

54-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm or platform.")
54+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm, platform, or docker.")
5555

5656
flagsdelete.AddCommonFlags(cobraCmd, &cmd.DeleteOptions)
5757
flagsdelete.AddHelmFlags(cobraCmd, &cmd.DeleteOptions)

cmd/vclusterctl/cmd/describe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ vcluster describe -o json test
5353
}
5454
p, _ := defaults.Get(pdefaults.KeyProject, "")
5555

56-
cobraCmd.Flags().StringVar(&driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm or platform.")
56+
cobraCmd.Flags().StringVar(&driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm, platform, or docker.")
5757
cobraCmd.Flags().StringVarP(&cmd.output, "output", "o", "", "The format to use to display the information, can either be json or yaml")
5858
cobraCmd.Flags().StringVarP(&cmd.project, "project", "p", p, "The project to use")
5959
cobraCmd.Flags().BoolVar(&cmd.configOnly, "config-only", false, "Return only the vcluster.yaml configuration")

cmd/vclusterctl/cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ vcluster list --namespace test
4747
},
4848
}
4949

50-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm or platform.")
50+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver to use for managing the virtual cluster, can be either helm, platform, or docker.")
5151
cobraCmd.Flags().StringVar(&cmd.Output, "output", "table", "Choose the format of the output. [table|json]")
5252

5353
return cobraCmd

cmd/vclusterctl/cmd/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ vcluster platform login https://my-vcluster-platform.com --access-key myaccesske
5050
},
5151
}
5252

53-
loginCmd.Flags().StringVar(&cmd.Driver, "use-driver", "", "Switch vCluster driver between platform and helm")
53+
loginCmd.Flags().StringVar(&cmd.Driver, "use-driver", "", "Switch vCluster driver between platform, helm, and docker")
5454
loginCmd.Flags().StringVar(&cmd.AccessKey, "access-key", "", "The access key to use")
5555
loginCmd.Flags().BoolVar(&cmd.Insecure, "insecure", true, product.Replace("Allow login into an insecure Loft instance"))
5656
loginCmd.Flags().BoolVar(&cmd.DockerLogin, "docker-login", true, "If true, will log into the docker image registries the user has image pull secrets for")

cmd/vclusterctl/cmd/pause.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ vcluster pause test --namespace test
5656
},
5757
}
5858

59-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver for the virtual cluster, can be either helm or platform.")
59+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver for the virtual cluster, can be either helm, platform, or docker.")
6060

6161
// Platform flags
6262
cobraCmd.Flags().StringVar(&cmd.Project, "project", "", "[PLATFORM] The vCluster platform project to use")

cmd/vclusterctl/cmd/platform/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ vcluster platform login https://my-vcluster-platform.com --access-key myaccesske
7575
},
7676
}
7777

78-
loginCmd.Flags().StringVar(&cmd.Driver, "use-driver", "", "Switch vCluster driver between platform and helm")
78+
loginCmd.Flags().StringVar(&cmd.Driver, "use-driver", "", "Switch vCluster driver between platform, helm, and docker")
7979
loginCmd.Flags().StringVar(&cmd.AccessKey, "access-key", "", "The access key to use")
8080
loginCmd.Flags().BoolVar(&cmd.Insecure, "insecure", false, product.Replace("Allow login into an insecure Loft instance"))
8181
loginCmd.Flags().BoolVar(&cmd.DockerLogin, "docker-login", true, "If true, will log into the docker image registries the user has image pull secrets for")

cmd/vclusterctl/cmd/resume.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ vcluster resume test --namespace test
5252
},
5353
}
5454

55-
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver for the virtual cluster, can be either helm or platform.")
55+
cobraCmd.Flags().StringVar(&cmd.Driver, "driver", "", "The driver for the virtual cluster, can be either helm, platform, or docker.")
5656

5757
// Platform flags
5858
cobraCmd.Flags().StringVar(&cmd.Project, "project", "", "[PLATFORM] The vCluster platform project to use")

cmd/vclusterctl/cmd/use/driver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ func NewDriverCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
2626
description := `########################################################
2727
################# vcluster use driver #################
2828
########################################################
29-
Either use "helm" or "platform" as the deployment method for managing virtual clusters.
29+
Either use "helm", "platform", or "docker" as the deployment method for managing virtual clusters.
3030
#######################################################
3131
`
3232

3333
driverCmd := &cobra.Command{
3434
Use: "driver",
35-
Short: "Switch the virtual clusters driver between platform and helm",
35+
Short: "Switch the virtual clusters driver between platform, helm, and docker",
3636
Long: description,
3737
Args: cobra.ExactArgs(1),
3838
RunE: func(cobraCmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)