Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔓 feat: Expose Env Field in Helm Deployment Template (#9890)
WhammyLeaf17ab91f1fd65
diff --git a/helm/librechat/templates/deployment.yaml b/helm/librechat/templates/deployment.yamlindex 1d1deec3ac..5dc28a0484 100755--- a/helm/librechat/templates/deployment.yaml+++ b/helm/librechat/templates/deployment.yaml@@ -84,6 +84,10 @@ spec:name: {{ .Values.global.librechat.existingSecretName }}optional: true{{- end }}+ {{- with .Values.global.librechat.env }}+ env:+ {{- toYaml . | nindent 12 }}+ {{- end }}volumes:{{- if or .Values.librechat.configYamlContent .Values.librechat.existingConfigYaml }}- name: config-yamldiff --git a/helm/librechat/values.yaml b/helm/librechat/values.yamlindex bef2075308..7dacb1386b 100755--- a/helm/librechat/values.yaml+++ b/helm/librechat/values.yaml@@ -7,14 +7,30 @@ replicaCount: 1global:- # existing Secret for all envs/ only Passwords. Can be locally generated with: kubectl create secret generic librechat-secret-envs --from-env-file=.env.example --dry-run=client -o yaml > secret-envs.yaml+ # default Secret for envs/ only Passwords. Can be locally generated with: kubectl create secret generic librechat-secret-envs --from-env-file=.env.example --dry-run=client -o yaml > secret-envs.yaml# For better maintainabillity, you can put all vars directly in the config Section and only overwrite Secrets with this if nessesary.# Required Values:+ # - CREDS_KEY+ # - CREDS_IV+ # - JWT_SECRET+ # - JWT_REFRESH_SECRET# - MEILI_MASTER_KEYlibrechat:existingSecretName: "librechat-credentials-env"# Used for Setting the Right Key, can be something like AZURE_API_KEY, if Azure OpenAI is usedexistingSecretApiKey: OPENAI_API_KEY+ # Optionally add extra globally accessible environment variables here. These can be referenced under ConfigEnv to make them accessible inside LibreChat+ # env:+ # - name: API_KEY+ # valueFrom:+ # secretKeyRef:+ # name: api_access+ # key: api_key+ # - name: CLIENT_ID+ # valueFrom:+ # secretKeyRef:+ # name: credentials+ # key: client_idlibrechat:configEnv: