📊 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: dependencies:
- name: mongodb - name: mongodb
version: "16.3.0" version: "16.5.45"
condition: mongodb.enabled condition: mongodb.enabled
repository: "https://charts.bitnami.com/bitnami" repository: "https://charts.bitnami.com/bitnami"
- name: meilisearch - name: meilisearch

View file

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

View file

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