From 535a70d85eb1ff44d0cca686276dc1985a1e6e5c Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sat, 5 Apr 2025 02:30:58 +0200 Subject: [PATCH] Install librechat from different chart --- apps/librechat.yaml | 75 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/apps/librechat.yaml b/apps/librechat.yaml index c196668..c570b08 100644 --- a/apps/librechat.yaml +++ b/apps/librechat.yaml @@ -3,3 +3,78 @@ apiVersion: v1 kind: Namespace metadata: name: librechat +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: bat-librechat + namespace: librechat +spec: + interval: 24h + url: https://charts.blue-atlas.de +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: librechat + namespace: librechat +spec: + interval: 30m + chart: + spec: + chart: librechat + version: 1.8.9 + sourceRef: + kind: HelmRepository + name: bat-librechat + values: + global: + librechat: + existingSecretName: librechat + librechat: + configEnv: + PLUGIN_MODELS: null + ALLOW_REGISTRATION: "false" + existingSecretName: librechat + configYamlContent: | + version: 1.0.3 + + endpoints: + custom: + - name: "Ollama" + apiKey: "ollama" + baseURL: "http://ollama.ollama.svc.cluster.local:11434/v1/chat/completions" + models: + default: [ + "llama2", + "mistral", + "codellama", + "dolphin-mixtral", + "mistral-openorca" + ] + # fetching list of models is supported but the `name` field must start + # with `ollama` (case-insensitive), as it does in this example. + fetch: true + titleConvo: true + titleModel: "current_model" + summarize: false + summaryModel: "current_model" + forcePrompt: false + modelDisplayLabel: "Ollama" + imageVolume: + enabled: true + size: 10G + accessModes: ReadWriteOnce + storageClassName: mayastor-single-hdd + ingress: + enabled: false + + mongodb: + persistence: + storageClass: mayastor-single-hdd + + meilisearch: + persistence: + storageClass: mayastor-single-hdd + auth: + existingMasterKeySecret: librechat