chrisfu
ecacf01266
Remove legacy secrets, configs, and scripts; introduce prole-auth service and Grafana SSO proxy configuration.
2026-03-20 13:00:36 -07:00
chrisfu
86d3d35268
Remove prole.cfg and introduce regression tests to improve KDC and Kong initialization
...
- Deleted `prole.cfg` as part of configuration cleanup.
- Added regression tests to ensure Docker is skipped during KDC setup when unavailable or unnecessary.
- Fixed `init_kong.sh` to avoid leaking temporary traps, addressing unbound variable errors.
2026-03-09 17:09:41 -07:00
chrisfu
2dc8726395
Skip Docker usage in init_kdc.sh when explicit KDC image is provided; add tests and improve kubectl retry handling
2026-03-08 22:52:45 -07:00
chrisfu
d397b3000e
Fix installer ctx apply flow and registry namespace
...
- Add explicit Apply button for kubectl context switching to avoid half-applied changes
- Allow kubeconfig/context-based auth without requiring K3S_TOKEN when kubeconfig is valid
- Prompt cleanup/reset of previous Common Core services namespace to prevent resource collisions
- Remove hardcoded 'common-services' registry namespace; default registry deploy/check to SERVICE_NAMESPACE/REGISTRY_NAMESPACE
- Update mocks and add regression tests for namespace resolution and installer behavior
2026-03-07 10:35:27 -08:00
chrisfu
436c6214df
checkpoint: k3s agent config + node labels + registry optimizations
...
- k3s: render server-only config keys only for servers; add regression test; make guardrail test non-sudo
- k3s/site: add post-provision node labeling tasks + playbook tier; extend inventory node label mapping
- registry: default namespace to common-services and skip redundant image pushes by probing registry manifests (installer + init scripts)
2026-03-07 03:14:26 -08:00
chrisfu
125da5669b
Fix k3s CNPG image registry resolution and import flows
...
- In k3s mode, resolve CNPG images to a cluster-reachable internal registry and ignore k3d/localhost-ish registry values.
- Avoid any k3d cluster/containerd interactions when PROLE_MODE=k3s; add a preflight-image action.
- Extend init scripts and Ansible k3s/mariadb import tasks/playbooks for the updated k3s flow.
- Add/extend installer UI + tests around services and action/milestone helpers.
- Add merlin MariaDB provisioning playbook, services init-script test, and a k3s datastore SQL snapshot.
Co-authored-by: Junie <junie@jetbrains.com>
2026-03-07 00:23:00 -08:00
chrisfu
dafed53810
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