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: tools/setup-envtest/main.go
+16-16
Original file line number
Diff line number
Diff line change
@@ -50,16 +50,16 @@ var (
50
50
binDir=flag.String("bin-dir", "",
51
51
"directory to store binary assets (default: $OS_SPECIFIC_DATA_DIR/envtest-binaries)")
52
52
53
-
useGCS=flag.Bool("use-gcs", false, "use GCS to fetch envtest binaries")
53
+
useDeprecatedGCS=flag.Bool("use-deprecated-gcs", false, "use GCS to fetch envtest binaries. Note: This is deprecated and will be removed soon. For more details see: https://github.com/kubernetes-sigs/controller-runtime/pull/2811")
54
54
55
-
// These flags are only used with --use-gcs.
56
-
remoteBucket=flag.String("remote-bucket", "kubebuilder-tools", "remote GCS bucket to download from (only used with --use-gcs)")
55
+
// These flags are only used with --use-deprecated-gcs.
56
+
remoteBucket=flag.String("remote-bucket", "kubebuilder-tools", "remote GCS bucket to download from (only used with --use-deprecated-gcs)")
"remote server to query from. You can override this if you want to run "+
59
-
"an internal storage server instead, or for testing. (only used with --use-gcs)")
59
+
"an internal storage server instead, or for testing. (only used with --use-deprecated-gcs)")
60
60
61
-
// This flag is only used if --use-gcs is not set or false (default).
62
-
index=flag.String("index", remote.DefaultIndexURL, "index to discover envtest binaries (only used if --use-gcs is not set, or set to false)")
61
+
// This flag is only used if --use-deprecated-gcs is not set or false (default).
62
+
index=flag.String("index", remote.DefaultIndexURL, "index to discover envtest binaries (only used if --use-deprecated-gcs is not set, or set to false)")
0 commit comments