mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
Replace the "True"-anywhere column heuristic with structured status-condition
parsing via jsonpath, and expand coverage to all Flux sources (GitRepository,
OCIRepository, HelmRepository, HelmChart, Bucket), Kustomizations, Nodes
(Ready), APIServices (Available), CRDs (Established), and PVCs (phase=Bound).
New modes:
--wait + --timeout block until ready (exit 0) or timeout (exit 1) — CI gate
--core limit to the 5 cozystack/Flux primitives that drive an
install; minimizes apiserver load during upgrades
--parallel opt-in concurrent fetches (default is sequential to
avoid bursts of N concurrent LISTs while reconcilers
are already hammering the apiserver mid-upgrade)
--verbose show condition reason+message and N/M-not-ready footer
-n / -l scope queries to a namespace or label selector
--no-color explicit toggle (auto-disabled on non-TTY)
Also:
- Detect .spec.suspend separately from failure (rendered as SUSPENDED, not
a hard error)
- Cluster-scoped kinds (Packages, Nodes, APIServices, CRDs) parse correctly
— previously empty leading namespace shifted every column
- Default watch interval 5s → 10s (less aggressive during long upgrades)
- "CRD not installed, skipping" instead of silently scanning empty output
Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>