Add volume and volumeMount to Chart
This commit is contained in:
@@ -53,6 +53,9 @@ spec:
|
||||
subPath: llm_factories.json
|
||||
name: service-conf-volume
|
||||
{{- end }}
|
||||
{{- with .Values.ragflow.volumeMounts }}
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "ragflow.fullname" . }}-env-config
|
||||
@@ -67,6 +70,9 @@ spec:
|
||||
- name: service-conf-volume
|
||||
configMap:
|
||||
name: ragflow-service-config
|
||||
{{- with .Values.ragflow.volumes }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -98,6 +98,33 @@ ragflow:
|
||||
# model_type: chat
|
||||
# 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
|
||||
deployment:
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user