Add llamactl-proxy configuration

This commit is contained in:
2025-07-31 21:15:45 +02:00
parent 5578229913
commit a5c12c9eb1
7 changed files with 69 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: llamactl
resources:
- namespace.yaml
- service.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: llamactl

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: llamactl-proxy
namespace: llamactl
spec:
type: ExternalName
externalName: ${LLAMACTL_INTERNAL_IP}
ports:
- port: 80
targetPort: ${LLAMACTL_INTERNAL_PORT}
name: http

View File

@@ -6,4 +6,5 @@ resources:
- gitea
- lemma
- ghost
- dashboard
- dashboard
- llamactl-proxy

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: llamactl-ingress
namespace: llamactl
spec:
entryPoints:
- websecure
routes:
- match: Host(`${LLAMACTL_DOMAIN}`)
kind: Rule
services:
- name: llamactl-proxy
port: 80
middlewares:
- name: "auth-authelia@kubernetescrd"

View File

@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: llamactl
resources:
- ../../base/llamactl-proxy
- ingress.yaml