-
Notifications
You must be signed in to change notification settings - Fork 96
docs: correct stale output-mode and informer-filtering claims; drop stray manifests #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ main.go --parses CLI flags--> pkg/lib/meshsync.Run(...) | |
|
|
||
| - `main.go` parses flags (`-output`, `-outputFile`, `-outputNamespaces`, `-outputResources`, `-stopAfter`) and calls `pkg/lib/meshsync.Run(...)`. | ||
| - `meshsync.Handler` (`meshsync/meshsync.go`) holds the config, logger, broker handle, dynamic informer factory, kube client, channel pool, output writer, and output-filtration config. `meshsync.New(...)` wires them together and derives the cluster ID via `pkg/utils.GetClusterID`. | ||
| - `GetDynamicInformer` builds a `dynamicinformer.DynamicSharedInformerFactory` filtered by a label selector derived from the config's informer blacklist. | ||
| - `GetDynamicInformer` builds a `dynamicinformer.DynamicSharedInformerFactory`. Resource filtering happens in the watch-list config (`internal/config/crd_config.go` decides which informers get registered); the factory's list-options hook (`GetListOptionsFunc`) is a deliberate no-op. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated in ed83861. Corrected both spots in docs/design/fd5-periodic-reconciliation.md: the reconcile-LIST parenthetical and the scale-mitigation bullet now state that GetListOptionsFunc is a deliberate no-op and that reconcile scope comes from which informer pipelines are registered from the watch-list config. |
||
|
|
||
| ## Discovery Pipeline (`internal/pipeline`) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Swept the remaining mentions in ed83861: the -outputNamespaces / -outputResources flag help text in main.go and the determineUseCRDFlag comment in pkg/lib/meshsync/meshsync.go (which also referenced a nonexistent channel output mode).