Files
allmende/k8s/base/ingressroute.yaml
nilsandClaude Sonnet 5.5 e379065695 k8s: enable the Traefik IngressRoute
Listed in the kustomization now; the comments and README no longer call it
off by default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
2026-11-18 13:25:55 +01:00

30 lines
1016 B
YAML

# The web UI on a public name, through Traefik, modelled on the gitea
# IngressRoute (same ingress class, entry point and shape). It is listed in
# kustomization.yaml; comment it out there to run without a public UI.
#
# There is no separate web image: the UI is built into the allmende binary, so
# the one image (see kustomization.yaml) serves it on port 8080.
#
# The same port serves the owner API. It is protected by the admin token (which
# stays on the volume, /data/admin.token), and TLS is done where your gitea's is.
#
# The libp2p port (4001) does not go through Traefik: it is not HTTP, and
# service-p2p.yaml already exposes it.
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: allmende
annotations:
kubernetes.io/ingress.class: traefik-internal
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`allmende.stinnesbeck.com`)
services:
- kind: Service
name: allmende-http
namespace: allmende
port: http