feat(helm): 添加Neo4j模板支持GraphRAG功能
- 新增neo4j.yaml部署和服务模板 - 在app.yaml中添加Neo4j环境变量 - 在pvc.yaml中添加Neo4j持久卷 - 在secrets.yaml中添加Neo4j认证信息 - 在_helpers.tpl中添加Neo4j镜像助手 - 在NOTES.txt中添加GraphRAG说明 - 在values.yaml中添加Neo4j配置 - 简化.helmignore以修复Helm否定模式错误 (helm/helm#8688) Fixes #483 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,25 @@ spec:
|
||||
---
|
||||
{{- end }}
|
||||
|
||||
{{/* Neo4j PVC */}}
|
||||
{{- if and .Values.neo4j.enabled .Values.neo4j.persistence.enabled (not .Values.neo4j.persistence.existingClaim) }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "weknora.fullname" . }}-neo4j
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "weknora.componentLabels" (dict "component" "graph" "context" .) | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.neo4j.persistence.size }}
|
||||
{{- include "weknora.storageClass" . | nindent 2 }}
|
||||
---
|
||||
{{- end }}
|
||||
|
||||
{{/* Data Files PVC */}}
|
||||
{{- if and .Values.dataFiles.persistence.enabled (not .Values.dataFiles.persistence.existingClaim) }}
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user