mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2026-03-18 19:17:25 +00:00
- Added CRDAnalyzerConfig types to pkg/common/types.go for configuration - Implemented CRD analyzer in pkg/analyzer/crd.go with support for: - Discovery of all installed CRDs via apiextensions API - Generic health checks based on common patterns (.status.conditions, .status.phase, etc.) - Configurable per-CRD health checks via YAML config - Detection of stuck resources (deletionTimestamp with finalizers) - Registered CRDAnalyzer in additionalAnalyzerMap - Added comprehensive unit tests in pkg/analyzer/crd_test.go - All tests passing Co-authored-by: AlexsJones <1235925+AlexsJones@users.noreply.github.com>