You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/scratch-env/main.go
+24-36Lines changed: 24 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,11 @@ package main
2
2
3
3
import (
4
4
goflag "flag"
5
-
"fmt"
6
-
"io"
7
5
"io/ioutil"
8
6
"os"
9
7
10
8
flag "github.com/spf13/pflag"
11
9
12
-
"k8s.io/client-go/tools/clientcmd"
13
-
kcapi "k8s.io/client-go/tools/clientcmd/api"
14
10
ctrl "sigs.k8s.io/controller-runtime"
15
11
"sigs.k8s.io/controller-runtime/pkg/envtest"
16
12
"sigs.k8s.io/controller-runtime/pkg/log/zap"
@@ -22,25 +18,6 @@ var (
22
18
attachControlPlaneOut=flag.Bool("debug-env", false, "attach to test env (apiserver & etcd) output -- just a convinience flag to force KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT=true")
0 commit comments