From 4060c9ed2da96adb943909fb7cff84e49aea6d12 Mon Sep 17 00:00:00 2001 From: Aleksandr Aleksandrov Date: Fri, 21 Aug 2026 00:21:44 +0300 Subject: [PATCH] docs: describe what --watch-name actually filters on Signed-off-by: Aleksandr Aleksandrov --- cmd/manager/main.go | 2 +- helm/charts/vector-operator/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 965a6a9..e576c88 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -101,7 +101,7 @@ func main() { flag.BoolVar(&enableHTTP2, "enable-http2", false, "If set, HTTP/2 will be enabled for the metrics and webhook servers") flag.StringVar(&watchNamespace, "watch-namespace", "", "Namespace to filter the list of watched objects") - flag.StringVar(&watchLabel, "watch-name", "", "Filter the list of watched objects by checking the app.kubernetes.io/managed-by label") + flag.StringVar(&watchLabel, "watch-name", "", "Filter the list of watched objects by the value of their app.kubernetes.io/name label; they must also carry app.kubernetes.io/managed-by=vector-operator") flag.DurationVar(&configCheckTimeout, "configcheck-timeout", 300*time.Second, "configcheck timeout") flag.BoolVar(&enableReconciliationInvalidPipelines, "enable-reconciliation-invalid-pipelines", false, "Enable the reconciliation process for pipelines with invalid configurations") diff --git a/helm/charts/vector-operator/values.yaml b/helm/charts/vector-operator/values.yaml index 0b3d322..4224ffc 100644 --- a/helm/charts/vector-operator/values.yaml +++ b/helm/charts/vector-operator/values.yaml @@ -69,7 +69,7 @@ annotations: {} # Args to path to operator args: # - "-watch-namespace=vector" # Namespace to filter the list of watched objects -# - "-watch-name=vector-operator" # Filter the list of watched objects by checking the app.kubernetes.io/managed-by label +# - "-watch-name=vector-operator" # Filter the list of watched objects by the value of their app.kubernetes.io/name label; they must also carry app.kubernetes.io/managed-by=vector-operator # - "-enable-reconciliation-invalid-pipelines=true" # Enable the reconciliation process for pipelines with invalid configurations # - "-reconciliation-retry-delay=120s" # Specify the delay before retrying the reconciliation process for pipelines # - "-enable-config-optimization" # Collapse kubernetes_logs sources with identical settings into one source per group (opt out per Vector CR or per (Cluster)VectorPipeline with the vector-operator.kaasops.io/config-optimization=disabled annotation)