mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Add kustomization, namespace, and service configurations for chat-ui-proxy
This commit is contained in:
7
apps/base/chat-ui-proxy/kustomization.yaml
Normal file
7
apps/base/chat-ui-proxy/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: chat-ui
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- service.yaml
|
||||
4
apps/base/chat-ui-proxy/namespace.yaml
Normal file
4
apps/base/chat-ui-proxy/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: chat-ui
|
||||
13
apps/base/chat-ui-proxy/service.yaml
Normal file
13
apps/base/chat-ui-proxy/service.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: chat-ui-proxy
|
||||
namespace: chat-ui
|
||||
annotations:
|
||||
tailscale.com/tailnet-fqdn: ${CHATUI_TAILNET_FQDN}
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: placeholder
|
||||
ports:
|
||||
- port: ${CHATUI_INTERNAL_PORT}
|
||||
name: http
|
||||
14
apps/prod/chat-ui-proxy/ingress.yaml
Normal file
14
apps/prod/chat-ui-proxy/ingress.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: chat-ui-ingress
|
||||
namespace: chat-ui
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`${CHATUI_DOMAIN}`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: chat-ui-proxy
|
||||
port: ${CHATUI_INTERNAL_PORT}
|
||||
7
apps/prod/chat-ui-proxy/kustomization.yaml
Normal file
7
apps/prod/chat-ui-proxy/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: chat-ui
|
||||
|
||||
resources:
|
||||
- ../../base/chat-ui-proxy
|
||||
- ingress.yaml
|
||||
@@ -11,6 +11,4 @@ spec:
|
||||
kind: Rule
|
||||
services:
|
||||
- name: llamactl-proxy
|
||||
port: ${LLAMACTL_INTERNAL_PORT}
|
||||
middlewares:
|
||||
- name: "auth-authelia@kubernetescrd"
|
||||
port: ${LLAMACTL_INTERNAL_PORT}
|
||||
Reference in New Issue
Block a user