Skip to content

Commit ff0e25a

Browse files
authored
Merge pull request #10793 from afbjorklund/kubectl-cluster
minikube kubectl: The --cluster flags should be prepended
2 parents b6c4101 + e8a35de commit ff0e25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/minikube/cmd/kubectl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ minikube kubectl -- get pods --namespace kube-system`,
4848
}
4949

5050
cluster := []string{"--cluster", ClusterFlagValue()}
51-
args = append(args, cluster...)
51+
args = append(cluster, args...)
5252

5353
c, err := KubectlCommand(version, args...)
5454
if err != nil {

0 commit comments

Comments
 (0)