diff --git a/cmd/fluent-watcher/fluentbit/main.go b/cmd/fluent-watcher/fluentbit/main.go index ff5215c5e..a6d90fa4a 100644 --- a/cmd/fluent-watcher/fluentbit/main.go +++ b/cmd/fluent-watcher/fluentbit/main.go @@ -72,6 +72,8 @@ func main() { level.Warn(logger).Log("--flb-timeout is deprecated. Consider setting the terminationGracePeriod field on the `(Cluster)FluentBit` instance.") } + flag.Parse() + // First, launch the fluent-bit process. args := []string{"--enable-hot-reload", "-c", configPath} if externalPluginPath != "" {