Reset git history for making manifests public

This commit is contained in:
2026-05-31 22:25:38 +02:00
commit 3dbb863df7
411 changed files with 42163 additions and 0 deletions

40
openwebui/httproute.yaml Normal file
View File

@@ -0,0 +1,40 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: forge-route
namespace: openwebui
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: gateway-internal
namespace: envoy-gateway
sectionName: forge
hostnames:
- "forge.jsme.be"
rules:
- matches:
- path:
type: PathPrefix
value: /
filters:
- type: RequestHeaderModifier
requestHeaderModifier:
set:
- name: X-Forwarded-Host
value: "forge.jsme.be"
- name: X-Forwarded-Proto
value: https
- type: ResponseHeaderModifier
responseHeaderModifier:
set:
- name: Strict-Transport-Security
value: "max-age=31536000; includeSubDomains"
- name: X-Content-Type-Options
value: nosniff
backendRefs:
- name: openwebui
port: 8080
kind: Service
group: ""
weight: 1

View File

@@ -0,0 +1,13 @@
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
name: forge-backend-traffic
namespace: openwebui
spec:
targetRefs:
- group: gateway.networking.k8s.io
kind: HTTPRoute
name: forge-route
timeout:
http:
requestTimeout: 0s

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: openwebui-pvc
namespace: openwebui
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 20Gi

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: openwebui
namespace: openwebui
spec:
selector:
app: openwebui
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP

71
openwebui/openwebui.yaml Normal file
View File

@@ -0,0 +1,71 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: openwebui
namespace: openwebui
spec:
replicas: 1
selector:
matchLabels:
app: openwebui
serviceName: openwebui
template:
metadata:
labels:
app: openwebui
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 30
containers:
- name: openwebui
image: ghcr.io/open-webui/open-webui:main
resources:
requests:
cpu: 200m
memory: 512Mi
limits:
cpu: 1000m
memory: 2Gi
ports:
- containerPort: 8080
env:
- name: OLLAMA_BASE_URL
value: "http://ollama.ollama.svc.cluster.local:11434"
- name: COMFYUI_BASE_URL
value: "http://comfyui.comfyui.svc.cluster.local:8188"
- name: ENABLE_IMAGE_GENERATION
value: "true"
- name: IMAGE_GENERATION_ENGINE
value: "comfyui"
- name: ENABLE_OAUTH_SIGNUP
value: "true"
- name: OAUTH_MERGE_ACCOUNTS_BY_EMAIL
value: "true"
- name: OAUTH_PROVIDER_NAME
value: "Authentik"
- name: OPENID_PROVIDER_URL
value: "https://auth.jsme.be/application/o/open-webui/.well-known/openid-configuration"
- name: OAUTH_SCOPES
value: "openid email profile"
- name: OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
name: openwebui-secrets
key: OAUTH_CLIENT_ID
- name: OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: openwebui-secrets
key: OAUTH_CLIENT_SECRET
- name: WEBUI_SECRET_KEY
valueFrom:
secretKeyRef:
name: openwebui-secrets
key: WEBUI_SECRET_KEY
volumeMounts:
- name: data
mountPath: /app/backend/data
volumes:
- name: data
persistentVolumeClaim:
claimName: openwebui-pvc