mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 14:42:05 +09:00
Walking prefixes of the parent namespace drops tenant-root at depth >= 2. Kamaji control planes of tenant clusters in these tenants time out on etcd.tenant-root.svc:2379. Ingress has the same reachability gap, including hairpin traffic to public URLs hosted by ancestor ingress. The set of allowed destinations only grows: every previously allowed ancestor remains reachable, even when the tenant owns etcd or ingress. namespace.yaml propagates service owners from the parent or assigns ownership to the tenant itself, so inherited owners are always ancestors and need no separate owner logic. tenant-root has no ancestor rules. Validated with helm unittest packages/apps/tenant (113 tests), an offline Helm template render, and regression tests that fail with owner-only rules. Assisted-by: LLM Signed-off-by: tym83 <6355522@gmail.com>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd