Optional (off by default): IngressRoute for the UI with TLS (resolver or Secret), a security-headers Middleware and an HTTP-to-HTTPS redirect. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
16 lines
360 B
YAML
16 lines
360 B
YAML
# The web UI and API, inside the cluster only. Reach it with
|
|
# kubectl -n allmende port-forward svc/allmende-http 8080:8080
|
|
# or publish it through ingressroute.yaml (Traefik).
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: allmende-http
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: allmende
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
targetPort: http
|