📊 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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user