Enhance kubedog tracker with flexible resource filtering options, allowing users to control which resources are tracked. Key Features: - TrackKinds: Only track resources of specified types - SkipKinds: Skip resources of specified types - CustomTrackableKinds: Define custom resource types to actively track - CustomStaticKinds: Define custom resource types that don't need tracking - pkg/cluster/release.go: Manifest-based resource detection with filtering - Comprehensive documentation and examples Changes: - pkg/kubedog/options.go: Add new tracking configuration fields and methods - pkg/kubedog/tracker.go: Add filterResources and shouldSkipResource methods - pkg/cluster/release.go: New package for manifest parsing and resource filtering - docs/: Complete guides for custom tracking configuration - examples/: Working examples demonstrating all filtering options Benefits: - Fine-grained control over resource tracking - Support for custom resource types (CRDs) - Performance improvement by skipping unnecessary tracking - Backward compatible (defaults unchanged when not configured) Signed-off-by: yxxhero <aiopsclub@163.com> |
||
|---|---|---|
| .. | ||
| proposals | ||
| CUSTOM_TRACKING.md | ||
| IMPLEMENTATION_SUMMARY.md | ||
| RESOURCE_DETECTION.md | ||
| advanced-features.md | ||
| builtin-objects.md | ||
| contributing.md | ||
| experimental-features.md | ||
| hcl_funcs.md | ||
| index.md | ||
| license.md | ||
| paths.md | ||
| remote-secrets.md | ||
| requirements.txt | ||
| shared-configuration-across-teams.md | ||
| templating_funcs.md | ||
| users.md | ||
| writing-helmfile.md | ||