Skip to content

Commit

Permalink
chore(apps): add openwebui application configuration to ollama
Browse files Browse the repository at this point in the history
  • Loading branch information
qjoly committed Jan 29, 2025
1 parent 64cde6d commit 9d378d4
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions cortado/apps/ollama/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
- openwebui.yaml
60 changes: 60 additions & 0 deletions cortado/apps/ollama/openwebui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: openwebui
namespace: argocd
spec:
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
destination:
server: https://kubernetes.default.svc
namespace: ollama
source:
repoURL: https://rubxkube.github.io/common-charts/
chart: common
targetRevision: 0.4.2
helm:
values: |
name: "openwebui"
service:
enabled: true
servicePort: 8080
containerPort: 8080
image:
repository: ghcr.io/open-webui/open-webui
tag: ollama
deployment:
port: 8080
ingress:
enabled: true
hostName: "openwebui.<path:kv/cluster#domain>"
ingressClassName: nginx
tls:
enabled: true
secretName: "openwebui-tls"
annotations:
cert-manager.io/cluster-issuer: cloudflare
configMap:
enabled: false
extraConfigMaps: []
persistence:
enabled: true
volumes:
- name: data
storageClassName: ""
size: 10Gi
pvcClaim: ""
containerMount: "/app/backend/data"
- name: models
storageClassName: ""
size: 20Gi
pvcClaim: ""
containerMount: "/root/.ollama"

0 comments on commit 9d378d4

Please sign in to comment.