prole/etc
chrisfu 3312c39b1f feat: GCP/GKE CNPG hardening, Artifact Registry traffic light, and knoe-system namespace fixes
UI screens
- database.py: fix mode detection to use env_key priority (prod→k8s, service→k3s) so stale DEPLOYMENT_MODE never overrides the user's chosen environment
- database.py: Registry status reads ARTIFACT_REGISTRY_AVAILABLE persisted by cluster screen; uses SERVICE_NAMESPACE for Artifact Registry repo name
- cluster.py: add Artifact Registry traffic light (amber→green/red) to prod section; _check_artifact_registry_async persists ARTIFACT_REGISTRY_AVAILABLE into Global cfg
- cluster.py: re-trigger Artifact Registry check after GKE cluster selection so the light re-evaluates once region is available from KUBECONTEXT
- cluster_nodes.py: fix TclError on Python 3.14 — pady=(2,0) tuple → pady=2 scalar
- __init__.py: seed knoe-system namespace when saved value is "default", not only when empty
- services.py: replace hardcoded "Prole DB" log string with dynamic cnpg_cluster name

Core ops
- cloudnative_pg.py: replace one-shot Barman plugin retry with 6-attempt loop; first cert-manager/x509 failure triggers rollout restart + 30 s CA propagation wait; subsequent failures back off up to 60 s per attempt
- cloudnative_pg.py: TLS CA CN now uses cluster_name instead of hardcoded "Prole CNPG CA"
- registry.py, garage_store.py: refactored into per-mode modules (k3d/k3s/k8s registry and garage store, shared _garage_common)

Deploy / config
- deploy/gcp/gke/knoe-db.yaml: GKE-specific CNPG cluster manifest (rw/ro/r on separate nodes with premium-rwo storage)
- etc/init_common_services.sh, modes/k8s/knoe-db/.version: updated for current deploy
- kong-deployment.yaml: updated manifest

Tests
- test_cluster_nodes_render_smoke.py: add pack/grid, winfo_children, winfo_reqheight, update_idletasks, grid_slaves to dummy widgets; monkeypatch tk.Label so CNPG placement render completes without a real Tkinter root

Co-authored-by: Junie <junie@jetbrains.com>
2026-04-04 19:36:08 -07:00
..
lib/shell Rename Prole storage objects to Synology and sync deployment updates 2026-03-22 21:50:02 -07:00
.ollama_parser.py Enhance build system with 'make test' and fix installer test debris. Added 'make test' to Makefile with 'pyconv' (black) integration and coverage summary. Reformatted codebase with black. Fixed 'install.py' test bug where MagicMock objects created directory debris by improving mocking and patching in 'tests/test_navigation.py', 'tests/test_service_layer_navigation.py', and 'tests/test_install_logic.py'. 2026-02-25 14:55:05 -08:00
archive_garage_backup.py Enhance build system with 'make test' and fix installer test debris. Added 'make test' to Makefile with 'pyconv' (black) integration and coverage summary. Reformatted codebase with black. Fixed 'install.py' test bug where MagicMock objects created directory debris by improving mocking and patching in 'tests/test_navigation.py', 'tests/test_service_layer_navigation.py', and 'tests/test_install_logic.py'. 2026-02-25 14:55:05 -08:00
build_db.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
build-a-bao.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
common_core_lib.sh Refactor shell library structure; relocate helpers under etc/lib/shell/ and update references 2026-03-16 21:44:58 -07:00
deploy_pipeline.sh Checkpoint: Refactor installer UI and update Supabase deployment strategy 2026-02-03 14:55:05 -08:00
final_deployment.sh Refactor namespace handling to use prole.cfg as sole source of truth 2026-03-02 18:50:53 -08:00
home.sh Remove prole-db-manager; simplify deployment via prole-authority; fix pg18 downgrade & cluster name 2026-03-01 20:40:44 -08:00
hostprobe-myrddin.yaml Milestone: monitoring deployment + svc firewall persistence 2026-03-19 12:19:02 -07:00
hostprobe-pi.yaml Milestone: monitoring deployment + svc firewall persistence 2026-03-19 12:19:02 -07:00
hosts.txt feat(scripts): introduce DNS sync script for Samba AD and hosts management 2026-01-02 20:56:44 -08:00
init_ansible.sh Summary of recent repairs and infrastructure updates 2026-02-15 17:51:57 -08:00
init_argocd.sh feat: GKE production deployment — CNPG + GCS backups + Google Workspace SSO 2026-04-01 10:41:55 -07:00
init_certmgr.sh Fix installer ctx apply flow and registry namespace 2026-03-07 10:35:27 -08:00
init_cnpg_backup.sh Stabilize CNPG reset/update flow and finalize 3-node recovery 2026-03-27 21:54:53 -07:00
init_cnpg_gke.sh feat: GKE production deployment — CNPG + GCS backups + Google Workspace SSO 2026-04-01 10:41:55 -07:00
init_common_core.sh Checkpoint: cluster env UI layout + k3s common services 2026-02-27 14:35:14 -08:00
init_common_services.sh feat: GCP/GKE CNPG hardening, Artifact Registry traffic light, and knoe-system namespace fixes 2026-04-04 19:36:08 -07:00
init_database_options.sh feat: Add GitOps (Gitea) and Supabase integration, plus database options 2026-02-26 18:32:15 -08:00
init_db_manager.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
init_forego.sh iscsi/installer: provision merlin d004; fix etc script runtime 2026-03-16 21:30:52 -07:00
init_forgejo.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
init_garage_store.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_gitea.sh chore: checkpoint k3s deployment and knoe updates 2026-03-31 23:15:54 -07:00
init_gitlab.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_k3s_registry.sh Fix DB image build and k3s registry/CNPG robustness 2026-03-29 19:35:37 -07:00
init_k8s.sh Remove prole-db-manager; simplify deployment via prole-authority; fix pg18 downgrade & cluster name 2026-03-01 20:40:44 -08:00
init_kdc.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_kerberos_test.sh Refactor shell layout; add shellspec + authority 2026-03-13 09:19:56 -07:00
init_kerberos.sh Make init-script secret checks warning-only and unblock Next 2026-03-31 23:15:54 -07:00
init_knoe_auth.sh Fix kube context handling and monitoring eligibility 2026-03-23 13:50:29 -07:00
init_knoe_users.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_knoe-db-reset.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
init_kong.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_monitoring.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_nginx_ingress.sh Fix kube context handling and monitoring eligibility 2026-03-23 13:50:29 -07:00
init_ollama.sh fix: UI runtime fixes, idempotent k3d KUBECONFIG, Ollama screen redesign, mode-conditional init scripts, Grafana restart, real-time docker build output, shell script fixes, test updates 2026-02-20 23:19:48 -08:00
init_openbao.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
init_opentofu.sh installer: preflight DB secrets + bootstrap OpenTofu password 2026-03-13 16:38:38 -07:00
init_port_forwards.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
init_postgrest.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
init_redis.sh feat: service layer — GitLab, Redis, DB ArgoCD app, Kong, monitoring updates 2026-04-01 20:38:57 -07:00
init_registry.sh Update conf, k8s registry, knoe UI screens, etc init scripts, and scan data 2026-04-02 23:40:16 -07:00
init_service_layer.sh feat: service layer — GitLab, Redis, DB ArgoCD app, Kong, monitoring updates 2026-04-01 20:38:57 -07:00
init_supabase_ports.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
k3d_route_fix.sh Remove prole-db-manager; simplify deployment via prole-authority; fix pg18 downgrade & cluster name 2026-03-01 20:40:44 -08:00
knoe-db-passwwd.sh Rename prole-db to knoe-db, add knoe-auth as cluster-internal KDC 2026-03-22 22:16:21 -07:00
prole_cfg.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
render_manifest.py Rename Prole storage objects to Synology and sync deployment updates 2026-03-22 21:50:02 -07:00
repair_pipeline.sh Checkpoint: rename installer to knoe + harden db build context 2026-03-22 01:45:21 -07:00
set-k3s-token-vault.sh Add prole_cfg.sh sourcing for configuration management 2026-01-30 23:37:32 -08:00
status_common_services.sh feat: full GKE/prod deployment pipeline from UI to Artifact Registry 2026-04-04 12:38:16 -07:00
status.sh Align installer namespace/topology handling and add regression tests 2026-03-29 23:45:56 -07:00
sync-prole-cfg.py Checkpoint: rename installer to knoe + harden db build context 2026-03-22 01:45:21 -07:00