Deploy westside-app to k8s with Tailscale funnel (Phase 4) #6
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing#6
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?
Lineage
plan-2026-03-08-tryout-prep→ Phase 6a (SvelteKit scaffold) → Phase 4 (deploy to own namespace)Repo
forgejo_admin/westside-appUser Story
As an admin or coach
I want the westside-app accessible at its own public URL
So that I can use the dashboard without relying on the playground nginx
Context
After Issue #5 merges (playground promotion, Phases 1-3), the app no longer needs Postgres — it consumes basketball-api over HTTP. The k8s deployment needs updating:
DATABASE_URLsecret withBASKETBALL_API_URLenv var pointing to the internal basketball-api servicewestside-appnamespaceThe Dockerfile and adapter-node setup are already correct. The CI pipeline (Woodpecker) already builds and pushes to Harbor.
File Targets
Files to modify:
k8s/deployment.yaml— replaceDATABASE_URLsecretKeyRef withBASKETBALL_API_URLvalue (http://basketball-api.basketball-api.svc.cluster.local:8000)k8s/kustomization.yaml— add namespace, any new resourcesFiles to create (possibly outside this repo):
Files NOT to touch:
src/— code changes are Issue #5Dockerfile— works as-isAcceptance Criteria
westside-appnamespace exists in k8sBASKETBALL_API_URLenv var (noDATABASE_URL)wkq.tail5b443a.ts.net)Test Expectations
curl https://wkq.tail5b443a.ts.net/returns HTML with player stats (not a loading spinner)kubectl get pods -n westside-appshows 1/1 Runningkubectl logs -n westside-app <pod>shows no errorsConstraints
service-onboarding-sop)http://basketball-api.basketball-api.svc.cluster.local:8000harbor.tail5b443a.ts.net/westside-app/appChecklist
Related
westside-basketball— project this affects