mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-08-27 00:37:20 +00:00
* fix: record skipped collectors in bundle and improve CLI warnings - Write `skipped-collectors.json` to the support bundle and preflight bundle recording which collectors were skipped (RBAC permissions or spec exclusion), with reason, errors, and timestamp - Surface RBAC errors and skipped-collector messages as `klog.Warningf` in non-interactive mode so they're visible without `-v` flags - Exec collector file naming now falls back to the resolved container name (from the pod spec) when `collectorName` is not set, instead of only checking `containerName` from the spec Signed-off-by: Evans Mungai <evans@replicated.com> * Address comment Signed-off-by: Evans Mungai <evans@replicated.com> * fix bugbot comment Signed-off-by: Evans Mungai <evans@replicated.com> * Remove unused var Signed-off-by: Evans Mungai <evans@replicated.com> * Address comment Signed-off-by: Evans Mungai <evans@replicated.com> * Use results.SaveResult and add automated tests Signed-off-by: Evans Mungai <evans@replicated.com> * Improvements Signed-off-by: Evans Mungai <evans@replicated.com> * Fix bugbot Signed-off-by: Evans Mungai <evans@replicated.com> * Handle bugbot Signed-off-by: Evans Mungai <evans@replicated.com> --------- Signed-off-by: Evans Mungai <evans@replicated.com>