Update ragflow
This commit is contained in:
@@ -64,11 +64,20 @@ spec:
|
||||
{{- . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.persistence.enabled }}
|
||||
{{- with .Values.redis.persistence.retentionPolicy }}
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
{{- with .whenDeleted }}
|
||||
whenDeleted: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .whenScaled }}
|
||||
whenScaled: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: redis-data
|
||||
labels:
|
||||
{{- include "ragflow.labels" . | nindent 10 }}
|
||||
{{- include "ragflow.selectorLabels" . | nindent 10 }}
|
||||
app.kubernetes.io/component: redis
|
||||
spec:
|
||||
accessModes:
|
||||
@@ -109,4 +118,4 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "ragflow.selectorLabels" . | nindent 6 }}
|
||||
app.kubernetes.io/component: redis
|
||||
app.kubernetes.io/component: redis
|
||||
|
||||
Reference in New Issue
Block a user