mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-09 00:31:31 -05:00
add open-webui
This commit is contained in:
parent
551ed10e69
commit
7eb4e0262e
7 changed files with 145 additions and 0 deletions
42
open-webui/templates/ingress.yaml
Normal file
42
open-webui/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: open-webui-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`open-webui.durp.info`) && PathPrefix(`/`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: open-webui
|
||||
port: 8080
|
||||
tls:
|
||||
secretName: open-webui-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: open-webui-tls
|
||||
spec:
|
||||
secretName: open-webui-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: "open-webui.durp.info"
|
||||
dnsNames:
|
||||
- "open-webui.durp.info"
|
||||
|
||||
---
|
||||
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: open-webui-external-dns
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: open-webui.durp.info
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: durp.info
|
||||
Loading…
Add table
Add a link
Reference in a new issue