Add mcpo service and ingress route configuration to homelab-proxy

This commit is contained in:
2025-08-26 22:05:59 +02:00
parent 777375b22c
commit 76799c43b3
2 changed files with 31 additions and 0 deletions

View File

@@ -6,4 +6,5 @@ resources:
- ../../base/homelab-proxy - ../../base/homelab-proxy
- llamactl.yaml - llamactl.yaml
- chatui.yaml - chatui.yaml
- mcpo.yaml
- netdata.yaml - netdata.yaml

View File

@@ -0,0 +1,30 @@
apiVersion: v1
kind: Service
metadata:
name: mcpo-proxy
namespace: homelab-proxy
annotations:
tailscale.com/tailnet-fqdn: ${MCPO_TAILNET_FQDN}
spec:
type: ExternalName
externalName: placeholder
ports:
- port: ${MCPO_INTERNAL_PORT}
name: http
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: mcpo-ingress
namespace: homelab-proxy
spec:
entryPoints:
- websecure
routes:
- match: Host(`${MCPO_DOMAIN}`)
kind: Rule
services:
- name: mcpo-proxy
port: ${MCPO_INTERNAL_PORT}