Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Set helm resource-policy to be keep (#7574)

Jason Liaf35e8465502
diff --git a/helm/templates/elasticsearch.yaml b/helm/templates/elasticsearch.yaml
index 935c716bfa..9db9c9a8ef 100644
--- a/helm/templates/elasticsearch.yaml
+++ b/helm/templates/elasticsearch.yaml
@@ -3,6 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "ragflow.fullname" . }}-es-data
+ annotations:
+ "helm.sh/resource-policy": keep
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: elasticsearch
diff --git a/helm/templates/infinity.yaml b/helm/templates/infinity.yaml
index 8560e78216..6ccdff0510 100644
--- a/helm/templates/infinity.yaml
+++ b/helm/templates/infinity.yaml
@@ -3,6 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "ragflow.fullname" . }}-infinity
+ annotations:
+ "helm.sh/resource-policy": keep
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: infinity
diff --git a/helm/templates/minio.yaml b/helm/templates/minio.yaml
index 289007d637..7a5cb1a5d9 100644
--- a/helm/templates/minio.yaml
+++ b/helm/templates/minio.yaml
@@ -3,6 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "ragflow.fullname" . }}-minio
+ annotations:
+ "helm.sh/resource-policy": keep
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: minio
diff --git a/helm/templates/mysql.yaml b/helm/templates/mysql.yaml
index f47fc0ef3e..2ec6dcd784 100644
--- a/helm/templates/mysql.yaml
+++ b/helm/templates/mysql.yaml
@@ -3,6 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "ragflow.fullname" . }}-mysql
+ annotations:
+ "helm.sh/resource-policy": keep
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: mysql
diff --git a/helm/templates/redis.yaml b/helm/templates/redis.yaml
index 9ac1e951f8..53e7a67812 100644
--- a/helm/templates/redis.yaml
+++ b/helm/templates/redis.yaml
@@ -3,6 +3,8 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "ragflow.fullname" . }}-redis
+ annotations:
+ "helm.sh/resource-policy": keep
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: redis