this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Deploy open-webui

+171
+5
k8s/nebula/apps/ai/kustomization.yaml
··· 1 + apiVersion: kustomize.config.k8s.io/v1beta1 2 + kind: Kustomization 3 + resources: 4 + - ./ns.yaml 5 + - ./open-webui/ks.yaml
+4
k8s/nebula/apps/ai/ns.yaml
··· 1 + apiVersion: v1 2 + kind: Namespace 3 + metadata: 4 + name: ai
+33
k8s/nebula/apps/ai/open-webui/app/es.yaml
··· 1 + --- 2 + # yaml-language-server: $schema=https://kochhaus-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json 3 + apiVersion: external-secrets.io/v1beta1 4 + kind: ExternalSecret 5 + metadata: 6 + name: &app openwebui 7 + spec: 8 + secretStoreRef: 9 + kind: ClusterSecretStore 10 + name: onepassword-connect 11 + target: 12 + name: *app 13 + template: 14 + data: 15 + # Database Init 16 + INIT_POSTGRES_HOST: "postgres16-rw.databases.svc.cluster.local" 17 + INIT_POSTGRES_DBNAME: openwebui 18 + INIT_POSTGRES_USER: openwebui 19 + INIT_POSTGRES_PASS: "{{ .POSTGRES_GENERIC_APP_PASSWORD }}" 20 + INIT_POSTGRES_SUPER_USER: "{{ .POSTGRES_SUPER_USER }}" 21 + INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}" 22 + # App 23 + DATABASE_URL: "postgres://openwebui:{{ .POSTGRES_GENERIC_APP_PASSWORD }}@postgres16-rw.databases.svc.cluster.local/openwebui?sslmode=disable" 24 + # Redis 25 + # https://docs.openwebui.com/getting-started/advanced-topics/env-configuration/#redis 26 + ENABLE_WEBSOCKET_SUPPORT: "true" 27 + WEBSOCKET_MANAGER: "redis" 28 + WEBSOCKET_REDIS_URL: "redis://redis.databases:6379" 29 + 30 + 31 + dataFrom: 32 + - extract: 33 + key: cloudnative-pg
+94
k8s/nebula/apps/ai/open-webui/app/hr.yaml
··· 1 + --- 2 + # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json 3 + apiVersion: helm.toolkit.fluxcd.io/v2 4 + kind: HelmRelease 5 + metadata: 6 + name: &app open-webui 7 + spec: 8 + interval: 30m 9 + chart: 10 + spec: 11 + chart: app-template 12 + version: 3.6.1 13 + sourceRef: 14 + kind: HelmRepository 15 + name: bjw-s 16 + namespace: flux-system 17 + install: 18 + remediation: 19 + retries: 3 20 + upgrade: 21 + cleanupOnFail: true 22 + remediation: 23 + retries: 3 24 + strategy: rollback 25 + values: 26 + controllers: 27 + open-webui: 28 + annotations: 29 + reloader.stakater.com/auto: "true" 30 + initContainers: 31 + init-db: 32 + image: 33 + repository: ghcr.io/rafaribe/postgres-init 34 + tag: 16 35 + envFrom: &envFrom 36 + - secretRef: 37 + name: openwebui 38 + containers: 39 + app: 40 + image: 41 + repository: ghcr.io/open-webui/open-webui 42 + tag: v0.5.4 43 + env: 44 + - name: OLLAMA_BASE_URL 45 + value: http://192.168.2.98:11434 46 + - name: ENABLE_RAG_WEB_SEARCH 47 + value: true 48 + - name: RAG_WEB_SEARCH_ENGINE 49 + value: searxng 50 + - name: SEARXNG_QUERY_URL 51 + value: http://searxng.services.svc.cluster.local:8080/search?q=<query> 52 + envFrom: *envFrom 53 + resources: 54 + requests: 55 + cpu: 500m 56 + memory: 2Gi 57 + limits: 58 + memory: 2Gi 59 + defaultPodOptions: 60 + affinity: 61 + nodeAffinity: 62 + requiredDuringSchedulingIgnoredDuringExecution: 63 + nodeSelectorTerms: 64 + - matchExpressions: 65 + - key: kubernetes.io/arch 66 + operator: In 67 + values: 68 + - amd64 69 + service: 70 + app: 71 + controller: open-webui 72 + ports: 73 + http: 74 + port: 8080 75 + ingress: 76 + app: 77 + enabled: true 78 + className: internal-nginx 79 + hosts: 80 + - host: &host "chat.skylab.fi" 81 + paths: 82 + - path: / 83 + service: 84 + identifier: app 85 + port: http 86 + tls: 87 + - hosts: 88 + - *host 89 + persistence: 90 + config: 91 + enabled: true 92 + existingClaim: *app 93 + globalMounts: 94 + - path: /app/backend/data
+8
k8s/nebula/apps/ai/open-webui/app/kustomization.yaml
··· 1 + --- 2 + # yaml-language-server: $schema=https://json.schemastore.org/kustomization 3 + apiVersion: kustomize.config.k8s.io/v1beta1 4 + kind: Kustomization 5 + resources: 6 + - ./es.yaml 7 + - ./hr.yaml 8 + - ../../../../../templates/volsync
+26
k8s/nebula/apps/ai/open-webui/ks.yaml
··· 1 + --- 2 + # yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json 3 + apiVersion: kustomize.toolkit.fluxcd.io/v1 4 + kind: Kustomization 5 + metadata: 6 + name: &app open-webui 7 + namespace: flux-system 8 + spec: 9 + targetNamespace: ai 10 + commonMetadata: 11 + labels: 12 + app.kubernetes.io/name: *app 13 + dependsOn: 14 + - name: volsync 15 + path: ./kubernetes/nebula/apps/ai/open-webui/app 16 + prune: true 17 + sourceRef: 18 + kind: GitRepository 19 + name: flux-system 20 + wait: false 21 + interval: 30m 22 + timeout: 5m 23 + postBuild: 24 + substitute: 25 + APP: *app 26 + VOLSYNC_CAPACITY: 5Gi
+1
k8s/nebula/apps/kustomization.yaml
··· 1 1 apiVersion: kustomize.config.k8s.io/v1beta1 2 2 kind: Kustomization 3 3 resources: 4 + - ai 4 5 - ci 5 6 # - dev 6 7 # - crypto