Skip to content

feat(gateway): route kuma.lab.pragalva.me to Uptime Kuma - #76

Merged
PragalvaXFREZ merged 1 commit into
mainfrom
feat/uptime-kuma-lan-route
Sep 6, 2026
Merged

PragalvaXFREZ merged 1 commit into
mainfrom
feat/uptime-kuma-lan-route

Conversation

@PragalvaXFREZ

Copy link
Copy Markdown
Owner

Recreated after #73 merged; the original stacked PR was closed when its base branch was deleted.

What

  • kuma.lab.pragalva.me added to the lan-services-tls Certificate SANs. cert-manager reissues via the existing Cloudflare DNS-01 ClusterIssuer.
  • Hostname added to the HTTP to HTTPS redirect route.
  • New HTTPRoute kuma on the https listener to uptime/uptime-kuma:3001.
  • ReferenceGrant allow-kuma-route in namespace uptime, same shape as the Grafana and Hubble grants.
  • Gateway README updated for the third name, the ClusterIP-only backend, and the WebSocket check.

Ordering

The ReferenceGrant lives in namespace uptime, which #73 creates. Merge #73 first or the grant fails to sync until the namespace exists.

Manual step

Create a DNS-only A record kuma.lab.pragalva.me to 192.168.1.244 in Cloudflare, matching the Grafana and Hubble records. No Cloudflare Tunnel hostname is added; this stays LAN and NetBird only.

Validation

  • kubeconform -strict passes on the gateway directory against the Gateway API catalog schemas.
  • python3 scripts/check-docs.py passes.

After merge

kubectl -n gateway-system get certificate lan-services-tls -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
kubectl -n gateway-system get httproute kuma
curl -I http://kuma.lab.pragalva.me
curl -I https://kuma.lab.pragalva.me

Then open the dashboard in a browser and confirm heartbeats update live. That proves the WebSocket upgrade passes through Cilium's Envoy.

Add the hostname to the shared LAN certificate and the HTTP redirect,
add an HTTPS route to uptime/uptime-kuma:3001, and grant the
cross-namespace reference. cert-manager reissues through Cloudflare
DNS-01; the DNS-only A record to 192.168.1.244 is created by hand.

Signed-off-by: Pragalva Sapkota <sapkotapragalva@gmail.com>
@PragalvaXFREZ
PragalvaXFREZ merged commit 6879a0b into main Sep 6, 2026
3 checks passed
@PragalvaXFREZ
PragalvaXFREZ deleted the feat/uptime-kuma-lan-route branch September 6, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant