DB apps fail on bare k3s: app-ns NetworkPolicy blocks CNPG initdb→apiserver egress (gate only runs on k3d) #89
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/mitosis#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Database-backed apps fail to bootstrap on bare single-VPS k3s platforms: CNPG
initdbcan't reach the kube-apiserver because the generated app-namespace NetworkPolicies assume the apiserver is in172.16.0.0/12(true on the k3d gate rig, false on a real VPS where the apiserver is the node IP on:6443). Every app with a DB hangs at "Setting up primary".Root-caused and fixed in plat/gitops (
generate-allow-egressnow allows the apiserver ClusterIP:443+0.0.0.0/0:6443), validated live on theproduct-garden.comgranddaughter (crew-built app reached preview 200). This issue tracks the durable lesson + the gate gap.Why the gate missed it
The coldstart/GATE harness germinates only on k3d (vxrail), where the apiserver container IP falls inside the
172.16/12allow. The bug is invisible there and only appears on a bare-k3s substrate (HYB path). This is the exact category HYB-2 (#35) exists to catch.Follow-up
allow-egress-postgres's apiserver intent out of the renderer's hardcoded172.16/12and into the same substrate-agnostic rule.Fix commit: plat/gitops
fix/apiserver-egress-bare-k3s.