mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Add llamactl-proxy configuration
This commit is contained in:
7
apps/base/llamactl-proxy/kustomization.yaml
Normal file
7
apps/base/llamactl-proxy/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: llamactl
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- service.yaml
|
||||
4
apps/base/llamactl-proxy/namespace.yaml
Normal file
4
apps/base/llamactl-proxy/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: llamactl
|
||||
12
apps/base/llamactl-proxy/service.yaml
Normal file
12
apps/base/llamactl-proxy/service.yaml
Normal 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
|
||||
@@ -6,4 +6,5 @@ resources:
|
||||
- gitea
|
||||
- lemma
|
||||
- ghost
|
||||
- dashboard
|
||||
- dashboard
|
||||
- llamactl-proxy
|
||||
16
apps/prod/llamactl-proxy/ingress.yaml
Normal file
16
apps/prod/llamactl-proxy/ingress.yaml
Normal 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"
|
||||
7
apps/prod/llamactl-proxy/kustomization.yaml
Normal file
7
apps/prod/llamactl-proxy/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: llamactl
|
||||
|
||||
resources:
|
||||
- ../../base/llamactl-proxy
|
||||
- ingress.yaml
|
||||
Reference in New Issue
Block a user