Skip to content

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

⛵ feat: Expose enableServiceLinks in Helm Deployment Templates (#11741)

Ganesh Bhat3888dfa4898e
diff --git a/helm/librechat-rag-api/Chart.yaml b/helm/librechat-rag-api/Chart.yaml
index 38d1470e49..cc382f0501 100755
--- a/helm/librechat-rag-api/Chart.yaml
+++ b/helm/librechat-rag-api/Chart.yaml
@@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.5.2
+version: 0.5.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
diff --git a/helm/librechat-rag-api/templates/rag-deployment.yaml b/helm/librechat-rag-api/templates/rag-deployment.yaml
index 5324ee3f7e..1978260723 100755
--- a/helm/librechat-rag-api/templates/rag-deployment.yaml
+++ b/helm/librechat-rag-api/templates/rag-deployment.yaml
@@ -26,6 +26,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
+ {{- if kindIs "bool" .Values.enableServiceLinks }}
+ enableServiceLinks: {{ .Values.enableServiceLinks }}
+ {{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
diff --git a/helm/librechat-rag-api/values.yaml b/helm/librechat-rag-api/values.yaml
index cd722bc096..3e1b61208a 100755
--- a/helm/librechat-rag-api/values.yaml
+++ b/helm/librechat-rag-api/values.yaml
@@ -40,6 +40,11 @@ fullnameOverride: ''
podAnnotations: {}
podLabels: {}
+# Enable or disable injection of service environment variables into pods.
+# When running in namespaces with many services, the injected variables can cause
+# "argument list too long" errors. Set to false to disable.
+enableServiceLinks: true
+
podSecurityContext: {} # fsGroup: 2000
securityContext: {}
diff --git a/helm/librechat/Chart.yaml b/helm/librechat/Chart.yaml
index 1e24daa280..296b20af96 100755
--- a/helm/librechat/Chart.yaml
+++ b/helm/librechat/Chart.yaml
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 1.9.7
+version: 1.9.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
@@ -37,6 +37,6 @@ dependencies:
condition: meilisearch.enabled
repository: "https://meilisearch.github.io/meilisearch-kubernetes"
- name: librechat-rag-api
- version: "0.5.2"
+ version: "0.5.3"
condition: librechat-rag-api.enabled
repository: file://../librechat-rag-api
diff --git a/helm/librechat/templates/deployment.yaml b/helm/librechat/templates/deployment.yaml
index f8d0e58298..279749185b 100755
--- a/helm/librechat/templates/deployment.yaml
+++ b/helm/librechat/templates/deployment.yaml
@@ -49,6 +49,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "librechat.serviceAccountName" . }}
+ {{- if kindIs "bool" .Values.enableServiceLinks }}
+ enableServiceLinks: {{ .Values.enableServiceLinks }}
+ {{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.initContainers }}
diff --git a/helm/librechat/values.yaml b/helm/librechat/values.yaml
index c6461ade61..f40f985954 100755
--- a/helm/librechat/values.yaml
+++ b/helm/librechat/values.yaml
@@ -153,6 +153,11 @@ podLabels: {}
deploymentAnnotations: {}
deploymentLabels: {}
+# Enable or disable injection of service environment variables into pods.
+# When running in namespaces with many services, the injected variables can cause
+# "argument list too long" errors. Set to false to disable.
+enableServiceLinks: true
+
podSecurityContext:
fsGroup: 2000