mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-23 09:04:24 +00:00
32 lines
663 B
YAML
32 lines
663 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: openhands-proxy
|
|
namespace: homelab-proxy
|
|
annotations:
|
|
tailscale.com/tailnet-fqdn: ${OPENHANDS_TAILNET_FQDN}
|
|
spec:
|
|
type: ExternalName
|
|
externalName: placeholder
|
|
ports:
|
|
- port: ${OPENHANDS_INTERNAL_PORT}
|
|
name: http
|
|
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: openhands-ingress
|
|
namespace: homelab-proxy
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`${OPENHANDS_DOMAIN}`)
|
|
kind: Rule
|
|
services:
|
|
- name: openhands-proxy
|
|
port: ${OPENHANDS_INTERNAL_PORT}
|
|
middlewares:
|
|
- name: "auth-authelia@kubernetescrd"
|