📊 feat: Helm Chart Port Flexibility and MongoDB Update (#9750)

- Update MongoDB chart dependency from v16.3.0 to v16.5.45
- Add explicit containerPort configuration with fallback to service.port
- Standardize port references in health probes to use explicit port numbers
- Add targetPort and containerPort fields to service configuration
- Include service type options as inline comment for better clarity

These changes improve the Helm chart's port management flexibility and
bring the MongoDB dependency up to date with the latest stable version.

Co-authored-by: Jerum Hubbert <jerum.hubbert@scientificgames.com>
This commit is contained in:
Jerum Hubbert 2025-09-23 09:48:07 -04:00 committed by GitHub
parent de02892396
commit 2153db2f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View file

@ -29,7 +29,7 @@ home: https://www.librechat.ai
dependencies:
- name: mongodb
version: "16.3.0"
version: "16.5.45"
condition: mongodb.enabled
repository: "https://charts.bitnami.com/bitnami"
- name: meilisearch

View file

@ -41,7 +41,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
containerPort: {{ .Values.service.containerPort | default .Values.service.port }}
protocol: TCP
lifecycle:
{{- toYaml .Values.lifecycle | nindent 12 }}

View file

@ -150,8 +150,10 @@ securityContext:
runAsUser: 1000
service:
type: ClusterIP
type: ClusterIP # LoadBalancer, NodePort, ClusterIP
port: 3080
targetPort: 3080
containerPort: 3080
annotations: {}
ingress:
@ -193,11 +195,11 @@ autoscaling:
livenessProbe:
httpGet:
path: /health
port: http
port: 3080
readinessProbe:
httpGet:
path: /health
port: http
port: 3080
# Additional volumes on the output Deployment definition.
volumes: []