mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Adds OpenSearch support to the RAGFlow Helm chart based on https://github.com/infiniflow/ragflow/pull/7140 and the existing Elasticsearch support in the Helm chart. ### Type of change - [X] New Feature (non-breaking change which adds functionality)
18 lines
575 B
YAML
18 lines
575 B
YAML
{{- if eq .Values.env.DOC_ENGINE "elasticsearch" -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "ragflow.fullname" . }}-es-config
|
|
data:
|
|
node.name: "es01"
|
|
bootstrap.memory_lock: "false"
|
|
discovery.type: "single-node"
|
|
xpack.security.enabled: "true"
|
|
xpack.security.http.ssl.enabled: "false"
|
|
xpack.security.transport.ssl.enabled: "false"
|
|
cluster.routing.allocation.disk.watermark.low: 5gb
|
|
cluster.routing.allocation.disk.watermark.high: 3gb
|
|
cluster.routing.allocation.disk.watermark.flood_stage: 2gb
|
|
TZ: {{ .Values.env.TIMEZONE }}
|
|
{{- end -}}
|