mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-05 19:47:37 +09:00
## What this PR does Previously the debug log collection script that fired when CI failed treated Packages and PackageSources as namespaced resources and as a result of incorrect parsing failed to correctly kubectl describe and kubectl get -oyaml them. Additionally, the script did not read the logs of init containers. These issues are fixed with this patch. ### Release note ```release-note [ci] Improvements to cozyreport.sh (ci log collection script): fix retrieval of Package and PackageSource details, consider initContainers as well as containers, when fetching logs of errored pods. ```