Add volume and volumeMount to Chart
This commit is contained in:
@@ -53,6 +53,9 @@ spec:
|
|||||||
subPath: llm_factories.json
|
subPath: llm_factories.json
|
||||||
name: service-conf-volume
|
name: service-conf-volume
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.ragflow.volumeMounts }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ include "ragflow.fullname" . }}-env-config
|
name: {{ include "ragflow.fullname" . }}-env-config
|
||||||
@@ -67,6 +70,9 @@ spec:
|
|||||||
- name: service-conf-volume
|
- name: service-conf-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: ragflow-service-config
|
name: ragflow-service-config
|
||||||
|
{{- with .Values.ragflow.volumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@@ -98,6 +98,33 @@ ragflow:
|
|||||||
# model_type: chat
|
# model_type: chat
|
||||||
# is_tools: false
|
# is_tools: false
|
||||||
|
|
||||||
|
# Additional volumes to be mounted in the ragflow container
|
||||||
|
# Example:
|
||||||
|
# volumes:
|
||||||
|
# - name: my-custom-volume
|
||||||
|
# configMap:
|
||||||
|
# name: my-config
|
||||||
|
# - name: my-secret-volume
|
||||||
|
# secret:
|
||||||
|
# secretName: my-secret
|
||||||
|
# - name: my-pvc-volume
|
||||||
|
# persistentVolumeClaim:
|
||||||
|
# claimName: my-pvc
|
||||||
|
volumes: []
|
||||||
|
|
||||||
|
# Additional volume mounts for the ragflow container
|
||||||
|
# Example:
|
||||||
|
# volumeMounts:
|
||||||
|
# - name: my-custom-volume
|
||||||
|
# mountPath: /app/config
|
||||||
|
# readOnly: true
|
||||||
|
# - name: my-secret-volume
|
||||||
|
# mountPath: /app/secrets
|
||||||
|
# readOnly: true
|
||||||
|
# - name: my-pvc-volume
|
||||||
|
# mountPath: /app/data
|
||||||
|
volumeMounts: []
|
||||||
|
|
||||||
# Kubernetes configuration
|
# Kubernetes configuration
|
||||||
deployment:
|
deployment:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user