mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Add mcpo service and ingress route configuration to homelab-proxy
This commit is contained in:
@@ -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
|
||||||
|
|||||||
30
apps/prod/homelab-proxy/mcpo.yaml
Normal file
30
apps/prod/homelab-proxy/mcpo.yaml
Normal 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}
|
||||||
|
|
||||||
Reference in New Issue
Block a user