mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
install_barman_plugin() fetches from GitHub on every run (up to 6×120 s retries), stalling the installer worker thread even when the CNPG cluster is already at 'Cluster in healthy state' with all pods 2/2 Ready. Add a fast-path at the top of initialize(): check .status.phase for 'healthy' then verify all pods show 2/N ready — if both pass, return immediately. Full pipeline (ensure_operator, install_barman_plugin, _apply_manifest, _wait_cnpg_pods) is only entered when needed. Also adds test_cnpg_initialize_skips_when_cluster_healthy to test_deployment_mode_isolation.py to guard against regression. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _garage_common.py | ||
| _services_common.py | ||
| cloudnative_pg.py | ||
| garage_store.py | ||
| gke_clusters.py | ||
| k3d_garage_store.py | ||
| k3d_registry.py | ||
| k3s_garage_store.py | ||
| k3s_registry.py | ||
| k8s_garage_store.py | ||
| k8s_registry.py | ||
| monitoring.py | ||
| openbao.py | ||
| opentofu.py | ||
| registry.py | ||
| storage.py | ||