Skip to content

Commit

Permalink
default the kubeconfig flag to /home/jpgouin/.kube/config
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-gouin committed Feb 28, 2025
1 parent b0a3298 commit 30681b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/cmds/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package cmds

import (
"fmt"
"os"

"github.com/rancher/k3k/pkg/apis/k3k.io/v1alpha1"
"github.com/rancher/k3k/pkg/buildinfo"
Expand All @@ -29,7 +28,7 @@ var (
EnvVars: []string{"KUBECONFIG"},
Usage: "kubeconfig path",
Destination: &Kubeconfig,
Value: os.Getenv("HOME") + "/.kube/config",
Value: "$HOME/.kube/config",
},
&cli.StringFlag{
Name: "namespace",
Expand Down

0 comments on commit 30681b5

Please sign in to comment.