RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Add separate API service resource to Helm chart (#5572)
Scott Davidson69dc14f5d66f
diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yamlindex 3d7e596e37..43fbbe97db 100644--- a/helm/templates/ingress.yaml+++ b/helm/templates/ingress.yaml@@ -35,7 +35,7 @@ spec:{{- end }}backend:service:- name: {{ include "ragflow.fullname" $ }}+ name: {{ .Release.Name }}port:name: http{{- end }}diff --git a/helm/templates/ragflow.yaml b/helm/templates/ragflow.yamlindex d39139bc31..b1f8d1ea15 100644--- a/helm/templates/ragflow.yaml+++ b/helm/templates/ragflow.yaml@@ -31,6 +31,8 @@ spec:ports:- containerPort: 80name: http+ - containerPort: 9380+ name: http-apivolumeMounts:- mountPath: /etc/nginx/conf.d/ragflow.confsubPath: ragflow.conf@@ -70,3 +72,23 @@ spec:targetPort: httpname: httptype: {{ .Values.ragflow.service.type }}+---+{{- if .Values.ragflow.api.service.enabled }}+apiVersion: v1+kind: Service+metadata:+ name: {{ .Release.Name }}-api+ labels:+ {{- include "ragflow.labels" . | nindent 4 }}+ app.kubernetes.io/component: ragflow+spec:+ selector:+ {{- include "ragflow.selectorLabels" . | nindent 4 }}+ app.kubernetes.io/component: ragflow+ ports:+ - protocol: TCP+ port: 80+ targetPort: http-api+ name: http-api+ type: {{ .Values.ragflow.api.service.type }}+{{- end }}diff --git a/helm/values.yaml b/helm/values.yamlindex 7c45922d33..1cfa4fd4a9 100644--- a/helm/values.yaml+++ b/helm/values.yaml@@ -69,6 +69,10 @@ ragflow:service:# Use LoadBalancer to expose the web interface externallytype: ClusterIP+ api:+ service:+ enabled: true+ type: ClusterIPinfinity:image: