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 (#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>
104 lines
No EOL
2.7 KiB
YAML
Executable file
104 lines
No EOL
2.7 KiB
YAML
Executable file
# Required as vectorDB for RAG
|
|
# provide context-aware responses based on user-uploaded files
|
|
rag:
|
|
enabled: true
|
|
existingSecret: ''
|
|
configEnv:
|
|
DB_PORT: '5432'
|
|
EMBEDDINGS_PROVIDER: openai
|
|
|
|
image:
|
|
repository: danny-avila/librechat-rag-api-dev-lite # there is rag-api-dev and rag-api-dev-lite. currently only lite is docuimented
|
|
registry: ghcr.io
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: latest
|
|
|
|
# See https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml for more details.
|
|
postgresql:
|
|
enabled: true
|
|
# nameOverride: vectordb
|
|
image:
|
|
registry: ghcr.io
|
|
repository: bat-bs/bitnami-pgvector
|
|
tag: pg16
|
|
auth:
|
|
database: librechat-vectordb
|
|
username: postgres
|
|
# define a secret with values for "postgres-password", "password" (user Password) and "replication-password" or add values directly
|
|
existingSecret: librechat-vectordb
|
|
# postgres-password is needed to enable pgvector extension. If you enable it manually you can use "password" and user "librechat"
|
|
secretKeys:
|
|
userPasswordKey: postgres-password
|
|
adminPasswordKey: postgres-password
|
|
replicationPasswordKey: postgres-password
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ''
|
|
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: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
annotations: {}
|
|
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
# livenessProbe:
|
|
# httpGet:
|
|
# path: /
|
|
# port: http
|
|
# readinessProbe:
|
|
# httpGet:
|
|
# path: /
|
|
# port: http
|
|
|
|
# Additional volumes on the output Deployment definition.
|
|
volumes: []
|
|
# - name: foo
|
|
# secret:
|
|
# secretName: mysecret
|
|
# optional: false
|
|
|
|
# Additional volumeMounts on the output Deployment definition.
|
|
volumeMounts: []
|
|
# - name: foo
|
|
# mountPath: "/etc/foo"
|
|
# readOnly: true
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
extraContainers: {} |