mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-13 21:14:24 +01:00
⛵ feat: Expose enableServiceLinks in Helm Deployment Templates (#11741)
* 🐳 feat: Expose enableServiceLinks in Helm Deployment templates (#11740) Allow users to disable Kubernetes service link injection via enableServiceLinks in both LibreChat and RAG API Helm charts. This prevents pod startup failures caused by "argument list too long" errors in namespaces with many services. * Update helm/librechat/templates/deployment.yaml * Update helm/librechat-rag-api/templates/rag-deployment.yaml * set enableServiceLinks default to true --------- Co-authored-by: Ganesh Bhat <ganesh.bhat@fullscript.com>
This commit is contained in:
parent
e142ab72da
commit
3888dfa489
6 changed files with 19 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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: {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue