From 2521adc98f5be020174cb7c7edab70ff3bdfa794 Mon Sep 17 00:00:00 2001 From: Henry Whitaker Date: Thu, 29 Feb 2024 20:00:08 +0000 Subject: [PATCH] feat: added openwebui --- argo/cluster/misc/open-webui/chart/Chart.lock | 6 +++ argo/cluster/misc/open-webui/chart/Chart.yaml | 12 ++++++ .../cluster/misc/open-webui/chart/values.yaml | 40 +++++++++++++++++++ .../misc/open-webui/open-webui.app.yaml | 22 ++++++++++ 4 files changed, 80 insertions(+) create mode 100644 argo/cluster/misc/open-webui/chart/Chart.lock create mode 100644 argo/cluster/misc/open-webui/chart/Chart.yaml create mode 100644 argo/cluster/misc/open-webui/chart/values.yaml create mode 100644 argo/cluster/misc/open-webui/open-webui.app.yaml diff --git a/argo/cluster/misc/open-webui/chart/Chart.lock b/argo/cluster/misc/open-webui/chart/Chart.lock new file mode 100644 index 00000000..e70c6487 --- /dev/null +++ b/argo/cluster/misc/open-webui/chart/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: generic + repository: oci://ghcr.io/henrywhitaker3 + version: v1.3.3 +digest: sha256:c3074f3ac20f85ce95096de393d0b13aa23d823dfc9c7b09ddfd00ac66dd5959 +generated: "2024-01-23T14:03:17.981081447Z" diff --git a/argo/cluster/misc/open-webui/chart/Chart.yaml b/argo/cluster/misc/open-webui/chart/Chart.yaml new file mode 100644 index 00000000..61119422 --- /dev/null +++ b/argo/cluster/misc/open-webui/chart/Chart.yaml @@ -0,0 +1,12 @@ +apiVersion: v2 +name: open-webui +description: open-webui chart +type: application + +version: 0.1.0 +appVersion: "1.16.0" + +dependencies: + - name: generic + repository: oci://ghcr.io/henrywhitaker3 + version: v1.3.3 diff --git a/argo/cluster/misc/open-webui/chart/values.yaml b/argo/cluster/misc/open-webui/chart/values.yaml new file mode 100644 index 00000000..f0746b33 --- /dev/null +++ b/argo/cluster/misc/open-webui/chart/values.yaml @@ -0,0 +1,40 @@ +generic: + nameOverride: open-webui + fullnameOverride: open-webui + + replicaCount: 1 + + deploymentStrategy: + type: Recreate + + image: + repository: ghcr.io/open-webui/open-webui + pullPolicy: Always + tag: "main" + + service: + port: 8080 + + ingress: + enabled: true + annotations: + kubernetes.io/tls-acme: "true" + cert-manager.io/cluster-issuer: letsencrypt-prod + nginx.ingress.kubernetes.io/auth-url: https://auth.plexmox.com/api/verify + nginx.ingress.kubernetes.io/auth-signin: https://auth.plexmox.com + hosts: + - host: ai.plexmox.com + paths: + - path: / + pathType: ImplementationSpecific + tls: + - secretName: ai-plexmox-com-tls + hosts: + - ai.plexmox.com + + pvc: + enabled: true + size: 20Gi + storageClassName: smb + mountPath: /app/backend/data + diff --git a/argo/cluster/misc/open-webui/open-webui.app.yaml b/argo/cluster/misc/open-webui/open-webui.app.yaml new file mode 100644 index 00000000..db9b9925 --- /dev/null +++ b/argo/cluster/misc/open-webui/open-webui.app.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vscode + namespace: argo + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: misc + server: https://kubernetes.default.svc + project: apps + source: + path: argo/cluster/misc/vscode/chart + repoURL: https://gitlab.com/henrywhitaker3/homelab.git + targetRevision: HEAD + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true