Skip to content

Commit 25b13f5

Browse files
committed
Remove unnecessary new flags
1 parent 74130d1 commit 25b13f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/gce-pd-csi-driver/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ var (
5151
grpcLogCharCap = flag.Int("grpc-log-char-cap", 10000, "The maximum amount of characters logged for every grpc responses")
5252
enableOtelTracing = flag.Bool("enable-otel-tracing", false, "If set, enable opentelemetry tracing for the driver. The tracing is disabled by default. Configure the exporter endpoint with OTEL_EXPORTER_OTLP_ENDPOINT and other env variables, see https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#general-sdk-configuration.")
5353

54-
// Kubernetes client configuration flags
55-
master = flag.String("master", "", "The address of the Kubernetes API server (overrides any value in kubeconfig)")
56-
kubeconfig = flag.String("kubeconfig", "", "Path to a kubeconfig file, specifying how to connect to the API server. If not set, in-cluster config will be used")
57-
5854
errorBackoffInitialDurationMs = flag.Int("backoff-initial-duration-ms", 200, "The amount of ms for the initial duration of the backoff condition for controller publish/unpublish CSI operations. Default is 200.")
5955
errorBackoffMaxDurationMs = flag.Int("backoff-max-duration-ms", 300000, "The amount of ms for the max duration of the backoff condition for controller publish/unpublish CSI operations. Default is 300000 (5m).")
6056
extraVolumeLabelsStr = flag.String("extra-labels", "", "Extra labels to attach to each PD created. It is a comma separated list of key value pairs like '<key1>=<value1>,<key2>=<value2>'. See https://cloud.google.com/compute/docs/labeling-resources for details")

0 commit comments

Comments
 (0)