Skip to content

Commit b820e9d

Browse files
authored
fix: allow setting vcluster name for standalone mode (#2881)
1 parent 4141f8e commit b820e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/vcluster/cmd/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func NewStartCommand() *cobra.Command {
5050
}
5151

5252
func ExecuteStart(ctx context.Context, options *StartOptions) error {
53-
if os.Getenv("VCLUSTER_NAME") == "" && os.Getenv("POD_NAME") == "" && os.Getenv("POD_NAMESPACE") == "" {
53+
if os.Getenv("POD_NAME") == "" && os.Getenv("POD_NAMESPACE") == "" {
5454
return pro.StartStandalone(ctx, &pro.StandaloneOptions{
5555
Config: options.Config,
5656
})

0 commit comments

Comments
 (0)